git.samba.org
/
jerry
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
45380f3
)
r24797: Fix logic in dsgetdcname().
author
Günther Deschner
<gd@samba.org>
Thu, 30 Aug 2007 09:15:07 +0000
(09:15 +0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 17:30:22 +0000
(12:30 -0500)
Guenther
source/libsmb/dsgetdcname.c
patch
|
blob
|
history
diff --git
a/source/libsmb/dsgetdcname.c
b/source/libsmb/dsgetdcname.c
index 90e6d49274cf999d1f0b555b63bd8c588d134f25..384b9ec48d5e8b1a4a916c6a042266432431f112 100644
(file)
--- a/
source/libsmb/dsgetdcname.c
+++ b/
source/libsmb/dsgetdcname.c
@@
-445,7
+445,7
@@
static NTSTATUS DsGetDcName_cache_fetch(TALLOC_CTX *mem_ctx,
}
if ((flags & DS_IP_REQUIRED) &&
-
!
((*info)->domain_controller_address_type != ADS_INET_ADDRESS)) {
+ ((*info)->domain_controller_address_type != ADS_INET_ADDRESS)) {
return NT_STATUS_INVALID_PARAMETER_MIX;
}