]> git.sur5r.net Git - openldap/commitdiff
ITS#5164 lack of a db_open handler is not an error
authorHoward Chu <hyc@openldap.org>
Wed, 3 Oct 2007 09:00:41 +0000 (09:00 +0000)
committerHoward Chu <hyc@openldap.org>
Wed, 3 Oct 2007 09:00:41 +0000 (09:00 +0000)
servers/slapd/slapi/plugin.c

index ecaf0fa697b30663d01a3145a3807f53c6eb0e23..a7f9e165e8024ffb756745f133d98ed6b34cffde 100644 (file)
@@ -598,7 +598,7 @@ slapi_int_call_plugins(
        rc = slapi_int_get_plugins( be, funcType, &tmpPlugin );
        if ( rc != LDAP_SUCCESS || tmpPlugin == NULL ) {
                /* Nothing to do, front-end should ignore. */
-               return 1;
+               return rc;
        }
 
        for ( pGetPlugin = tmpPlugin ; *pGetPlugin != NULL; pGetPlugin++ ) {