From 6b37465d94b4a57698a5be0c944b90bc39ffebdf Mon Sep 17 00:00:00 2001 From: Hallvard Furuseth Date: Wed, 11 Jun 2003 15:50:25 +0000 Subject: [PATCH] Fix printf format in debug output. --- servers/slapd/controls.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 ); -- 2.39.5