From: Luke Howard Date: Tue, 21 Jan 2003 14:52:33 +0000 (+0000) Subject: If no plugins are registered, have front-end silently ignore X-Git-Tag: NO_SLAP_OP_BLOCKS~559 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=5883b270b8ef6c0c80af5bc4216ab47f244a7862;p=openldap If no plugins are registered, have front-end silently ignore --- diff --git a/servers/slapd/slapi/plugin.c b/servers/slapd/slapi/plugin.c index c12e75a5ca..f1995f5c04 100644 --- a/servers/slapd/slapi/plugin.c +++ b/servers/slapd/slapi/plugin.c @@ -573,7 +573,8 @@ doPluginFNs( rc = getAllPluginFuncs(be, funcType, &tmpPlugin ); if ( rc != LDAP_SUCCESS || tmpPlugin == NULL ) { - return rc; + /* Nothing to do, front-end should ignore. */ + return 0; } for ( pGetPlugin = tmpPlugin ; *pGetPlugin != NULL; pGetPlugin++ ) {