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 );