[or-cvs] Fix format warning

Nick Mathewson nickm at seul.org
Wed Apr 6 05:44:08 UTC 2005


Update of /home/or/cvsroot/tor/src/or
In directory moria.mit.edu:/tmp/cvs-serv3252/src/or

Modified Files:
	dns.c 
Log Message:
Fix format warning

Index: dns.c
===================================================================
RCS file: /home/or/cvsroot/tor/src/or/dns.c,v
retrieving revision 1.143
retrieving revision 1.144
diff -u -d -r1.143 -r1.144
--- dns.c	6 Apr 2005 05:32:24 -0000	1.143
+++ dns.c	6 Apr 2005 05:44:05 -0000	1.144
@@ -633,7 +633,7 @@
   tor_assert(conn->type == CONN_TYPE_DNSWORKER);
 
   if (conn->state != DNSWORKER_STATE_BUSY && buf_datalen(conn->inbuf)) {
-    log_fn(LOG_WARN,"Bug: read data (%d bytes) from an idle dns worker.  Please report.", buf_datalen(conn->inbuf));
+    log_fn(LOG_WARN,"Bug: read data (%d bytes) from an idle dns worker.  Please report.", (int)buf_datalen(conn->inbuf));
 #ifdef TOR_FRAGILE
     tor_assert(0);
 #endif



More information about the tor-commits mailing list