[or-cvs] r9403: Fix argument types in printf: try to make buildbot happier. (in tor/trunk: . src/or)

nickm at seul.org nickm at seul.org
Thu Jan 25 15:37:15 UTC 2007


Author: nickm
Date: 2007-01-25 10:37:14 -0500 (Thu, 25 Jan 2007)
New Revision: 9403

Modified:
   tor/trunk/
   tor/trunk/src/or/connection_edge.c
Log:
 r11500 at catbus:  nickm | 2007-01-25 10:37:11 -0500
 Fix argument types in printf: try to make buildbot happier.



Property changes on: tor/trunk
___________________________________________________________________
 svk:merge ticket from /tor/trunk [r11500] on 8246c3cf-6607-4228-993b-4d95d33730f1

Modified: tor/trunk/src/or/connection_edge.c
===================================================================
--- tor/trunk/src/or/connection_edge.c	2007-01-25 06:27:01 UTC (rev 9402)
+++ tor/trunk/src/or/connection_edge.c	2007-01-25 15:37:14 UTC (rev 9403)
@@ -380,14 +380,14 @@
           if (conn->_base.state == AP_CONN_STATE_SOCKS_WAIT) {
             /* extra debugging */
             log_fn(severity, LD_APP,
-                   "Hints: inbuf len %d, socks: version %d, command %d, "
+                   "Hints: inbuf len %lu, socks: version %d, command %d, "
                    "has_finished %d, address %s, port %d.",
-                   buf_datalen(conn->_base.inbuf),
-                   conn->socks_request->socks_version,
+                   (unsigned long)buf_datalen(conn->_base.inbuf),
+                   (int)conn->socks_request->socks_version,
                    conn->socks_request->command,
                    conn->socks_request->has_finished,
                    conn->socks_request->address,
-                   conn->socks_request->port);
+                   (int)conn->socks_request->port);
           }
         }
         connection_mark_unattached_ap(conn, END_STREAM_REASON_TIMEOUT);



More information about the tor-commits mailing list