[or-cvs] one of the debugging aids was misleading

Roger Dingledine arma at seul.org
Sun Nov 28 06:33:17 UTC 2004


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

Modified Files:
	relay.c 
Log Message:
one of the debugging aids was misleading


Index: relay.c
===================================================================
RCS file: /home2/or/cvsroot/tor/src/or/relay.c,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -d -r1.25 -r1.26
--- relay.c	26 Nov 2004 03:43:54 -0000	1.25
+++ relay.c	28 Nov 2004 06:33:14 -0000	1.26
@@ -703,8 +703,8 @@
 
       stats_n_data_bytes_received += rh.length;
       if(conn->type == CONN_TYPE_AP) {
-        log_fn(LOG_DEBUG,"%d: stream size now %d.", conn->s, (int)conn->stream_size);
         conn->stream_size += rh.length;
+        log_fn(LOG_DEBUG,"%d: stream size now %d.", conn->s, (int)conn->stream_size);
       }
       connection_write_to_buf(cell->payload + RELAY_HEADER_SIZE,
                               rh.length, conn);



More information about the tor-commits mailing list