From ae2cd84d162014d21039fa29e7d85a1bb4af3cee Mon Sep 17 00:00:00 2001 From: Pierangelo Masarati Date: Wed, 11 Sep 2002 17:15:55 +0000 Subject: [PATCH] trim c++ style comments --- servers/slapd/back-monitor/search.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/servers/slapd/back-monitor/search.c b/servers/slapd/back-monitor/search.c index 16d49e8495..92b6e3a34d 100644 --- a/servers/slapd/back-monitor/search.c +++ b/servers/slapd/back-monitor/search.c @@ -195,7 +195,7 @@ monitor_back_search( attrs, attrsonly, e, 0, &nentries ); if ( rc ) { - // error + rc = LDAP_OTHER; } break; @@ -213,14 +213,14 @@ monitor_back_search( attrs, attrsonly, e, 1, &nentries ); if ( rc ) { - // error + rc = LDAP_OTHER; } break; } - send_search_result( conn, op, LDAP_SUCCESS, + send_search_result( conn, op, rc, NULL, NULL, NULL, NULL, nentries ); - return( 0 ); + return( rc == LDAP_SUCCESS ? 0 : 1 ); } -- 2.39.5