From: Howard Chu Date: Sat, 12 Apr 2003 12:40:50 +0000 (+0000) Subject: Change doPluginFNs to return 1 when no plugins were invoked X-Git-Tag: OPENLDAP_REL_ENG_2_2_0ALPHA~375 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=5821fb5251b043b4b197c2b53bcd68502087be85;p=openldap Change doPluginFNs to return 1 when no plugins were invoked --- 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++ ) {