From: Howard Chu Date: Tue, 28 Jun 2011 01:43:31 +0000 (-0700) Subject: ITS#6828 set ld_errno on connect failures X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=7ee3dee647f198ec96c6100e66f9fcd9cd428006;p=openldap ITS#6828 set ld_errno on connect failures --- diff --git a/libraries/libldap/open.c b/libraries/libldap/open.c index d627e8323d..b4d22d7be6 100644 --- a/libraries/libldap/open.c +++ b/libraries/libldap/open.c @@ -550,6 +550,7 @@ ldap_int_check_async_open( LDAP *ld, ber_socket_t sd ) break; default: + ld->ld_errno = LDAP_CONNECT_ERROR; return -1; case -2: