From: Ralf Haferkamp Date: Thu, 16 Feb 2006 13:22:37 +0000 (+0000) Subject: fixed last commit X-Git-Tag: OPENLDAP_REL_ENG_2_4_BP~176 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=df7757b1fb52999f4bb5968172f559c0f8a4848a;p=openldap fixed last commit --- diff --git a/servers/slapd/bconfig.c b/servers/slapd/bconfig.c index 59ab63a11d..b24e97a771 100644 --- a/servers/slapd/bconfig.c +++ b/servers/slapd/bconfig.c @@ -4436,13 +4436,14 @@ config_build_modules( ConfigArgs *c, CfEntryInfo *ceparent, c->value_dn.bv_len = snprintf(c->value_dn.bv_val, sizeof( c->log ), "cn=module" SLAP_X_ORDERED_FMT, i); if ( c->value_dn.bv_len >= sizeof( c->log ) ) { /* FIXME: how can indicate error? */ - return; + return -1; } c->private = mp; if ( ! config_build_entry( op, rs, ceparent, c, &c->value_dn, &CFOC_MODULE, NULL )) { return -1; } } + return 0; } #endif