[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[or-cvs] a bit more data on gene"s dns threading bug



Update of /home2/or/cvsroot/tor/src/or
In directory moria.mit.edu:/home2/arma/work/onion/cvs/tor/src/or

Modified Files:
	dns.c 
Log Message:
a bit more data on gene's dns threading bug


Index: dns.c
===================================================================
RCS file: /home2/or/cvsroot/tor/src/or/dns.c,v
retrieving revision 1.142
retrieving revision 1.143
diff -u -d -r1.142 -r1.143
--- dns.c	4 Apr 2005 21:53:26 -0000	1.142
+++ dns.c	6 Apr 2005 05:32:24 -0000	1.143
@@ -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 from an idle dns worker.  Please report.");
+    log_fn(LOG_WARN,"Bug: read data (%d bytes) from an idle dns worker.  Please report.", buf_datalen(conn->inbuf));
 #ifdef TOR_FRAGILE
     tor_assert(0);
 #endif