]> git.sur5r.net Git - openldap/blobdiff - libraries/libldap/result.c
silence excessive logging
[openldap] / libraries / libldap / result.c
index f409afcc9ebedccb2e94b91edbe2e76f62bcfb5e..a1ee317cf6d31e78de76eb77fbcf554ba7674300 100644 (file)
@@ -103,15 +103,6 @@ ldap_result(
        Debug( LDAP_DEBUG_TRACE, "ldap_result msgid %d\n", msgid, 0, 0 );
 #endif
 
-       if( ld == NULL ) {
-               return -1;
-       }
-
-       if( result == NULL ) {
-               ld->ld_errno = LDAP_PARAM_ERROR;
-               return -1;
-       }
-
     lm = chkResponseList(ld, msgid, all);
 
        if ( lm == NULL ) {