mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-03-07 14:18:15 +08:00
Change doPluginFNs to return 1 when no plugins were invoked
This commit is contained in:
parent
088eecc34d
commit
5821fb5251
@ -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++ ) {
|
||||
|
Loading…
Reference in New Issue
Block a user