svn commit: samba r5566 - in branches/SAMBA_3_0_RELEASE/source/lib: .

jerry at samba.org jerry at samba.org
Fri Feb 25 18:39:25 GMT 2005


Author: jerry
Date: 2005-02-25 18:39:25 +0000 (Fri, 25 Feb 2005)
New Revision: 5566

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

Log:
fix breakage on gcc 2.96 (current with 3.0 as of r5565)
Modified:
   branches/SAMBA_3_0_RELEASE/source/lib/smbldap.c


Changeset:
Modified: branches/SAMBA_3_0_RELEASE/source/lib/smbldap.c
===================================================================
--- branches/SAMBA_3_0_RELEASE/source/lib/smbldap.c	2005-02-25 18:38:19 UTC (rev 5565)
+++ branches/SAMBA_3_0_RELEASE/source/lib/smbldap.c	2005-02-25 18:39:25 UTC (rev 5566)
@@ -874,9 +874,9 @@
 static int smbldap_open(struct smbldap_state *ldap_state)
 {
 	int rc, opt_rc;
-	SMB_ASSERT(ldap_state);
 	BOOL reopen = False;
 		
+	SMB_ASSERT(ldap_state);
 #ifndef NO_LDAP_SECURITY
 	if (geteuid() != 0) {
 		DEBUG(0, ("smbldap_open: cannot access LDAP when not root..\n"));



More information about the samba-cvs mailing list