LDAP: Add missing declaration for 'result'
authorTor Arntsen <tor@spacetec.no>
Sat, 18 Sep 2010 12:15:52 +0000 (14:15 +0200)
committerTor Arntsen <tor@spacetec.no>
Sat, 18 Sep 2010 12:23:34 +0000 (14:23 +0200)
lib/openldap.c

index 445d301..5996876 100644 (file)
@@ -178,6 +178,7 @@ static Sockbuf_IO ldapsb_tls;
 
 static CURLcode ldap_connect(struct connectdata *conn, bool *done)
 {
+  CURLcode result;
   ldapconninfo *li = conn->proto.generic;
   struct SessionHandle *data=conn->data;
   int rc, proto = LDAP_VERSION3;