From 37fceeb6621d5ee59ce43b4f62132a9c02ce02af Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Mon, 28 Jun 1999 22:20:04 +0000 Subject: [PATCH] Minor cleanup of ldap_result(). --- libraries/libldap/result.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) 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; -- 2.39.5