summaryrefslogtreecommitdiff
path: root/source3/lib
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2005-02-25 18:38:19 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 10:55:47 -0500
commitb03c74446ae8fe7db2a78006903f24e2b1ce4d93 (patch)
treed49d5a2ad4c20d4f040131dad4b4949de4690339 /source3/lib
parentc7a00987e3c8b02e82142be16658d339f9b9dcd2 (diff)
downloadsamba-b03c74446ae8fe7db2a78006903f24e2b1ce4d93.tar.gz
samba-b03c74446ae8fe7db2a78006903f24e2b1ce4d93.tar.bz2
samba-b03c74446ae8fe7db2a78006903f24e2b1ce4d93.zip
r5565: fix breakage on gcc 2.96
(This used to be commit 67f8a1e3bc545d4ebbe0f7d05ea16c6231f2e82c)
Diffstat (limited to 'source3/lib')
-rw-r--r--source3/lib/smbldap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/smbldap.c b/source3/lib/smbldap.c
index 3296f7994a..68084b0404 100644
--- a/source3/lib/smbldap.c
+++ b/source3/lib/smbldap.c
@@ -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"));