]> git.sur5r.net Git - openldap/commitdiff
Remove now redundant error check
authorKurt Zeilenga <kurt@openldap.org>
Fri, 30 Jan 2004 05:33:27 +0000 (05:33 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Fri, 30 Jan 2004 05:33:27 +0000 (05:33 +0000)
servers/slapd/result.c

index 678c62f91b70fa80e1b3393834f2c1c02155f2b9..63408450132681c643fbf811fafe7ce49614b7aa 100644 (file)
@@ -540,7 +540,7 @@ slap_send_ldap_result( Operation *op, SlapReply *rs )
 
        rs->sr_type = REP_RESULT;
 
-       assert( !LDAP_API_ERROR( rs->sr_err ) && ( rs->sr_err >= 0 ));
+       assert( !LDAP_API_ERROR( rs->sr_err ));
 
 #ifdef NEW_LOGGING
        LDAP_LOG( OPERATION, ENTRY,