From fb91d430f25ba2f1ee4dc3ab8244c4b2c61b9f87 Mon Sep 17 00:00:00 2001 From: Jong Hyuk Choi Date: Sun, 30 Nov 2003 05:45:13 +0000 Subject: [PATCH] it seems more appropriate to return LDAP_SUCCESS. --- servers/slapd/back-meta/cache-search.c | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/servers/slapd/back-meta/cache-search.c b/servers/slapd/back-meta/cache-search.c index cce48b4bb8..e31b1c1811 100644 --- a/servers/slapd/back-meta/cache-search.c +++ b/servers/slapd/back-meta/cache-search.c @@ -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; } -- 2.39.5