mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-24 13:24:56 +08:00
Fix printf format in debug output.
This commit is contained in:
parent
cd5d33a17c
commit
6b37465d94
@ -914,10 +914,10 @@ static int parseAssert (
|
|||||||
|
|
||||||
#ifdef NEW_LOGGING
|
#ifdef NEW_LOGGING
|
||||||
LDAP_LOG( OPERATION, ARGS,
|
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 );
|
op->o_connid, fstr.bv_len ? fstr.bv_val : "empty" , 0 );
|
||||||
#else
|
#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 );
|
op->o_connid, fstr.bv_len ? fstr.bv_val : "empty" , 0 );
|
||||||
#endif
|
#endif
|
||||||
op->o_tmpfree( fstr.bv_val, op->o_tmpmemctx );
|
op->o_tmpfree( fstr.bv_val, op->o_tmpmemctx );
|
||||||
|
Loading…
Reference in New Issue
Block a user