From 33bfd730a147acd5407ac08976a15f50ff7e9023 Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Wed, 2 Jun 2010 03:30:19 +0000 Subject: [PATCH] ITS#6569 return server's error code on Disconnect --- libraries/libldap/result.c | 1 + 1 file changed, 1 insertion(+) 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; } } -- 2.39.5