]> git.sur5r.net Git - openldap/commitdiff
Revert last change
authorKurt Zeilenga <kurt@openldap.org>
Sat, 9 Oct 2004 06:26:10 +0000 (06:26 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Sat, 9 Oct 2004 06:26:10 +0000 (06:26 +0000)
libraries/libldap/result.c

index 707f51f967f536956886444c5c6c7ab4218a6380..264cc21834c5bd1afb3b64d99cde3aa522fea170 100644 (file)
@@ -349,7 +349,7 @@ wait4msg(
                            {
                                    ld->ld_errno = (rc == -1 ? LDAP_SERVER_DOWN :
                                        LDAP_TIMEOUT);
-                                   return -1;
+                                   return rc;
                            }
 
                            if ( rc == -1 ) {