]> git.sur5r.net Git - openldap/commitdiff
Minor cleanup of ldap_result().
authorKurt Zeilenga <kurt@openldap.org>
Mon, 28 Jun 1999 22:20:04 +0000 (22:20 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Mon, 28 Jun 1999 22:20:04 +0000 (22:20 +0000)
libraries/libldap/result.c

index adc34d9db4159ff1c50cce4e7d4de66e7aeceeaf..8b03df7697467b60834a69e9bf494f154526892f 100644 (file)
@@ -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;