]> git.sur5r.net Git - openldap/commitdiff
Fix printf format in debug output.
authorHallvard Furuseth <hallvard@openldap.org>
Wed, 11 Jun 2003 15:50:25 +0000 (15:50 +0000)
committerHallvard Furuseth <hallvard@openldap.org>
Wed, 11 Jun 2003 15:50:25 +0000 (15:50 +0000)
servers/slapd/controls.c

index fcb2640a0f7a112aaa4013802b3cc0be3cec7a11..730b3f68d66c86b32f6c197a6a82d8d9b904ee4a 100644 (file)
@@ -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 );