]> git.sur5r.net Git - openldap/commitdiff
cleanup and cast of logs
authorPierangelo Masarati <ando@openldap.org>
Thu, 13 Sep 2001 21:30:44 +0000 (21:30 +0000)
committerPierangelo Masarati <ando@openldap.org>
Thu, 13 Sep 2001 21:30:44 +0000 (21:30 +0000)
servers/slapd/result.c

index e8aecf2a4de652586efcc5010d7b3d4ed6d58a62..0736484e858143de420b19cf91d3f431905006f1 100644 (file)
@@ -428,9 +428,9 @@ send_ldap_disconnect(
                reqoid, NULL, NULL, NULL );
 
        Statslog( LDAP_DEBUG_STATS,
-           "conn=%ld op=%ld DISCONNECT err=%ld tag=%lu text=%s\n",
+           "conn=%ld op=%ld DISCONNECT tag=%lu err=%ld text=%s\n",
                (long) op->o_connid, (long) op->o_opid,
-               (long) tag, (long) err, text ? text : "" );
+               (unsigned long) tag, (long) err, text ? text : "" );
 }
 
 void
@@ -515,7 +515,7 @@ send_ldap_result(
        Statslog( LDAP_DEBUG_STATS,
            "conn=%ld op=%ld RESULT tag=%lu err=%ld text=%s\n",
                (long) op->o_connid, (long) op->o_opid,
-               (long) tag, (long) err, text ? text : "" );
+               (unsigned long) tag, (long) err, text ? text : "" );
 
        if( tmp != NULL ) {
                ch_free(tmp);
@@ -657,7 +657,7 @@ send_search_result(
        Statslog( LDAP_DEBUG_STATS,
            "conn=%ld op=%ld SEARCH RESULT tag=%lu err=%ld text=%s\n",
                (long) op->o_connid, (long) op->o_opid,
-               (long) tag, (long) err, text ? text : "" );
+               (unsigned long) tag, (long) err, text ? text : "" );
 
        if (tmp != NULL) {
            ch_free(tmp);