From: Hallvard Furuseth Date: Wed, 11 Jun 2003 15:50:25 +0000 (+0000) Subject: Fix printf format in debug output. X-Git-Tag: OPENLDAP_REL_ENG_2_1_MP~898 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=6b37465d94b4a57698a5be0c944b90bc39ffebdf;p=openldap Fix printf format in debug output. --- diff --git a/servers/slapd/controls.c b/servers/slapd/controls.c index fcb2640a0f..730b3f68d6 100644 --- a/servers/slapd/controls.c +++ b/servers/slapd/controls.c @@ -914,10 +914,10 @@ static int parseAssert ( #ifdef NEW_LOGGING LDAP_LOG( OPERATION, ARGS, - "parseAssert: conn %d assert: %s\n", + "parseAssert: conn %ld assert: %s\n", op->o_connid, fstr.bv_len ? fstr.bv_val : "empty" , 0 ); #else - Debug( LDAP_DEBUG_ARGS, "parseAssert: conn %d assert: %s\n", + Debug( LDAP_DEBUG_ARGS, "parseAssert: conn %ld assert: %s\n", op->o_connid, fstr.bv_len ? fstr.bv_val : "empty" , 0 ); #endif op->o_tmpfree( fstr.bv_val, op->o_tmpmemctx );