From 5883b270b8ef6c0c80af5bc4216ab47f244a7862 Mon Sep 17 00:00:00 2001 From: Luke Howard Date: Tue, 21 Jan 2003 14:52:33 +0000 Subject: [PATCH] If no plugins are registered, have front-end silently ignore --- servers/slapd/slapi/plugin.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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++ ) { -- 2.39.5