From: Howard Chu Date: Wed, 2 Jun 2010 03:30:19 +0000 (+0000) Subject: ITS#6569 return server's error code on Disconnect X-Git-Tag: MIGRATION_CVS2GIT~584 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=33bfd730a147acd5407ac08976a15f50ff7e9023;p=openldap ITS#6569 return server's error code on Disconnect --- diff --git a/libraries/libldap/result.c b/libraries/libldap/result.c index e98ea7dd75..05580b793c 100644 --- a/libraries/libldap/result.c +++ b/libraries/libldap/result.c @@ -994,6 +994,7 @@ nextresp2: /* need to return -1, because otherwise * a valid result is expected */ + ld->ld_errno = lderr; return -1; } }