summaryrefslogtreecommitdiff
path: root/source3/lib
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2005-07-07 14:19:51 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 10:58:18 -0500
commit22268d79265d79b8d86d1152a7bfe2ebc8988905 (patch)
treefe951d815505488f99f1b0b381efdbe29c1d5f3a /source3/lib
parentd303b0203b4b8a2e4146851c6ee03d1ee4c6a392 (diff)
downloadsamba-22268d79265d79b8d86d1152a7bfe2ebc8988905.tar.gz
samba-22268d79265d79b8d86d1152a7bfe2ebc8988905.tar.bz2
samba-22268d79265d79b8d86d1152a7bfe2ebc8988905.zip
r8207: Fix my NT_STATUS_IS_OK mismatch.
Guenther (This used to be commit 053e892e07936f6b71a6bb5e31be09c1d2a2c837)
Diffstat (limited to 'source3/lib')
-rw-r--r--source3/lib/smbldap_util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/smbldap_util.c b/source3/lib/smbldap_util.c
index 98abe7f0d7..798cb3fff7 100644
--- a/source3/lib/smbldap_util.c
+++ b/source3/lib/smbldap_util.c
@@ -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;