From 5821fb5251b043b4b197c2b53bcd68502087be85 Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Sat, 12 Apr 2003 12:40:50 +0000 Subject: [PATCH] Change doPluginFNs to return 1 when no plugins were invoked --- servers/slapd/slapi/plugin.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/servers/slapd/slapi/plugin.c b/servers/slapd/slapi/plugin.c index 9b978d9c4e..dbe02554b8 100644 --- a/servers/slapd/slapi/plugin.c +++ b/servers/slapd/slapi/plugin.c @@ -614,13 +614,13 @@ doPluginFNs( SLAPI_FUNC *pGetPlugin = NULL, *tmpPlugin = NULL; if ( pPB == NULL ) { - return 0; + return 1; } rc = getAllPluginFuncs( be, funcType, &tmpPlugin ); if ( rc != LDAP_SUCCESS || tmpPlugin == NULL ) { /* Nothing to do, front-end should ignore. */ - return 0; + return 1; } for ( pGetPlugin = tmpPlugin ; *pGetPlugin != NULL; pGetPlugin++ ) { -- 2.39.5