svn commit: samba r14423 - in branches/SAMBA_4_0/source/libcli/ldap: .

tridge at samba.org tridge at samba.org
Wed Mar 15 05:30:40 GMT 2006


Author: tridge
Date: 2006-03-15 05:30:39 +0000 (Wed, 15 Mar 2006)
New Revision: 14423

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=14423

Log:

don't die on no controls

Modified:
   branches/SAMBA_4_0/source/libcli/ldap/ldap.c


Changeset:
Modified: branches/SAMBA_4_0/source/libcli/ldap/ldap.c
===================================================================
--- branches/SAMBA_4_0/source/libcli/ldap/ldap.c	2006-03-15 05:24:13 UTC (rev 14422)
+++ branches/SAMBA_4_0/source/libcli/ldap/ldap.c	2006-03-15 05:30:39 UTC (rev 14423)
@@ -1332,7 +1332,9 @@
 
 		}
 
-		ctrl[i] = NULL;
+		if (ctrl != NULL) {
+			ctrl[i] = NULL;
+		}
 
 		msg->controls = ctrl;
 



More information about the samba-cvs mailing list