r5566: fix breakage on gcc 2.96 (current with 3.0 as of r5565)
authorGerald Carter <jerry@samba.org>
Fri, 25 Feb 2005 18:39:25 +0000 (18:39 +0000)
committerGerald Carter <jerry@samba.org>
Fri, 25 Feb 2005 18:39:25 +0000 (18:39 +0000)
source/lib/smbldap.c

index 3296f7994a8f695e41849fa42c2e3ca029494c8c..68084b04045e5b3f1c871758fd8bde1d7a4ce9d2 100644 (file)
@@ -874,9 +874,9 @@ static int smbldap_connect_system(struct smbldap_state *ldap_state, LDAP * ldap_
 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"));