From: Kurt Zeilenga Date: Mon, 28 Jun 1999 22:20:04 +0000 (+0000) Subject: Minor cleanup of ldap_result(). X-Git-Tag: OPENLDAP_REL_ENG_2_BP~231 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=37fceeb6621d5ee59ce43b4f62132a9c02ce02af;p=openldap Minor cleanup of ldap_result(). --- diff --git a/libraries/libldap/result.c b/libraries/libldap/result.c index adc34d9db4..8b03df7697 100644 --- a/libraries/libldap/result.c +++ b/libraries/libldap/result.c @@ -61,7 +61,11 @@ static void merge_error_info LDAP_P(( LDAP *ld, LDAPRequest *parentr, LDAPReques * ldap_result( s, msgid, all, timeout, result ) */ int -ldap_result( LDAP *ld, int msgid, int all, struct timeval *timeout, +ldap_result( + LDAP *ld, + int msgid, + int all, + struct timeval *timeout, LDAPMessage **result ) { LDAPMessage *lm, *lastlm, *nextlm; @@ -121,8 +125,7 @@ ldap_result( LDAP *ld, int msgid, int all, struct timeval *timeout, } if ( tmp == NULL ) { - return( wait4msg( ld, msgid, all, timeout, - result ) ); + lm = NULL; } break;