From: Ralf Haferkamp Date: Wed, 1 Aug 2007 15:42:18 +0000 (+0000) Subject: removed bogus cast X-Git-Tag: OPENLDAP_REL_ENG_2_4_MP~282 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=92d9771503f6e5ab76b0e9b51854944de95f904c;p=openldap removed bogus cast --- diff --git a/servers/slapd/back-monitor/init.c b/servers/slapd/back-monitor/init.c index 38c2a26c06..22f02e3a04 100644 --- a/servers/slapd/back-monitor/init.c +++ b/servers/slapd/back-monitor/init.c @@ -2111,7 +2111,7 @@ monitor_back_db_init( } if (c) { - snprintf(((ConfigArgs*)c)->msg, sizeof(((ConfigArgs*)c)->msg), + snprintf(c->msg, sizeof(c->msg), "\"monitor\" database serving namingContext \"%s\" " "is hidden by \"%s\" database serving namingContext \"%s\".\n", pdn.bv_val, type, be2->be_nsuffix[ 0 ].bv_val );