diff options
author | Günther Deschner <gd@samba.org> | 2007-08-30 09:15:07 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:30:22 -0500 |
commit | b79f9b087054fd3b5c5cddfc89e4c56434309d34 (patch) | |
tree | 14519ca2f9746e1a608cfde5404dc066e8d0f9a9 | |
parent | d76e724b1029f840c947859ba5354fa171a2b383 (diff) | |
download | samba-b79f9b087054fd3b5c5cddfc89e4c56434309d34.tar.gz samba-b79f9b087054fd3b5c5cddfc89e4c56434309d34.tar.bz2 samba-b79f9b087054fd3b5c5cddfc89e4c56434309d34.zip |
r24797: Fix logic in dsgetdcname().
Guenther
(This used to be commit aca2d78db139ed32bcedec9861e83cb8c42809cf)
-rw-r--r-- | source3/libsmb/dsgetdcname.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/libsmb/dsgetdcname.c b/source3/libsmb/dsgetdcname.c index 90e6d49274..384b9ec48d 100644 --- a/source3/libsmb/dsgetdcname.c +++ b/source3/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; } |