r8207: Fix my NT_STATUS_IS_OK mismatch.
authorGünther Deschner <gd@samba.org>
Thu, 7 Jul 2005 14:19:51 +0000 (14:19 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 15:58:18 +0000 (10:58 -0500)
Guenther

source/lib/smbldap_util.c

index 98abe7f0d7ef43c1e024c3de132ad80528f1adf9..798cb3fff74c17ca9a711b1a9bcc7dee3fbd6ae3 100644 (file)
@@ -194,7 +194,7 @@ NTSTATUS smbldap_search_domain_info(struct smbldap_state *ldap_state,
                        goto failed;
 
                status = add_new_domain_info(ldap_state, domain_name);
-               if (NT_STATUS_IS_OK(status)) {
+               if (!NT_STATUS_IS_OK(status)) {
                        DEBUG(0, ("Adding domain info for %s failed with %s\n", 
                                domain_name, nt_errstr(status)));
                        goto failed;