]> git.sur5r.net Git - openldap/commitdiff
it seems more appropriate to return LDAP_SUCCESS.
authorJong Hyuk Choi <jongchoi@openldap.org>
Sun, 30 Nov 2003 05:45:13 +0000 (05:45 +0000)
committerJong Hyuk Choi <jongchoi@openldap.org>
Sun, 30 Nov 2003 05:45:13 +0000 (05:45 +0000)
servers/slapd/back-meta/cache-search.c

index cce48b4bb8aad8b4f334944b0f6cd7f9a6d45e92..e31b1c18119838fe2c091a72c027385fd4eca6fd 100644 (file)
@@ -1835,15 +1835,13 @@ cache_back_sentry(
                rs->sr_entry->e_nname = ndn; 
 
                op->o_callback = cb; 
-               return 0
+               return LDAP_SUCCESS
 
        } else if (rs->sr_type == REP_RESULT) { 
                op->o_callback = NULL; 
                send_ldap_result( op, rs ); 
-               return 0
+               return LDAP_SUCCESS
        }
 
-       /* FIXME: not handled? */
-       assert(0);
-       return -1;
+       return LDAP_SUCCESS;
 }