mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-30 13:30:57 +08:00
Minor cleanup of ldap_result().
This commit is contained in:
parent
80e5e3fead
commit
37fceeb662
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user