summaryrefslogtreecommitdiff
path: root/source3/libsmb
diff options
context:
space:
mode:
Diffstat (limited to 'source3/libsmb')
-rw-r--r--source3/libsmb/dsgetdcname.c2
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;
}