From df7757b1fb52999f4bb5968172f559c0f8a4848a Mon Sep 17 00:00:00 2001 From: Ralf Haferkamp Date: Thu, 16 Feb 2006 13:22:37 +0000 Subject: [PATCH] fixed last commit --- servers/slapd/bconfig.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- 2.39.5