]> git.sur5r.net Git - openldap/commitdiff
removed bogus cast
authorRalf Haferkamp <ralf@openldap.org>
Wed, 1 Aug 2007 15:42:18 +0000 (15:42 +0000)
committerRalf Haferkamp <ralf@openldap.org>
Wed, 1 Aug 2007 15:42:18 +0000 (15:42 +0000)
servers/slapd/back-monitor/init.c

index 38c2a26c0662364892179d24cce885cdd3d11dc9..22f02e3a0451dccb40b66486ca49f7e5f8c407e0 100644 (file)
@@ -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 );