--- libraries/libldap/result.c 2004/08/31 00:08:28 1.84.2.6 +++ libraries/libldap/result.c 2004/10/09 01:20:05 1.84.2.7 @@ -1,5 +1,5 @@ /* result.c - wait for an ldap result */ -/* $OpenLDAP: pkg/ldap/libraries/libldap/result.c,v 1.94 2004/07/24 01:13:29 hyc Exp $ */ +/* $OpenLDAP: pkg/ldap/libraries/libldap/result.c,v 1.84.2.6 2004/08/31 00:08:28 kurt Exp $ */ /* This work is part of OpenLDAP Software . * * Copyright 1998-2004 The OpenLDAP Foundation. @@ -349,7 +349,7 @@ wait4msg( { ld->ld_errno = (rc == -1 ? LDAP_SERVER_DOWN : LDAP_TIMEOUT); - return( rc ); + return -1; } if ( rc == -1 ) {