svn commit: samba r24797 - in branches: SAMBA_3_2/source/libsmb
SAMBA_3_2_0/source/libsmb
gd at samba.org
gd at samba.org
Thu Aug 30 09:15:08 GMT 2007
Author: gd
Date: 2007-08-30 09:15:07 +0000 (Thu, 30 Aug 2007)
New Revision: 24797
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=24797
Log:
Fix logic in dsgetdcname().
Guenther
Modified:
branches/SAMBA_3_2/source/libsmb/dsgetdcname.c
branches/SAMBA_3_2_0/source/libsmb/dsgetdcname.c
Changeset:
Modified: branches/SAMBA_3_2/source/libsmb/dsgetdcname.c
===================================================================
--- branches/SAMBA_3_2/source/libsmb/dsgetdcname.c 2007-08-30 09:02:40 UTC (rev 24796)
+++ branches/SAMBA_3_2/source/libsmb/dsgetdcname.c 2007-08-30 09:15:07 UTC (rev 24797)
@@ -445,7 +445,7 @@
}
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;
}
Modified: branches/SAMBA_3_2_0/source/libsmb/dsgetdcname.c
===================================================================
--- branches/SAMBA_3_2_0/source/libsmb/dsgetdcname.c 2007-08-30 09:02:40 UTC (rev 24796)
+++ branches/SAMBA_3_2_0/source/libsmb/dsgetdcname.c 2007-08-30 09:15:07 UTC (rev 24797)
@@ -445,7 +445,7 @@
}
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;
}
More information about the samba-cvs
mailing list