[or-cvs] rearrange debug logs to make more sense
Roger Dingledine
arma at seul.org
Tue Dec 7 21:57:12 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:
buffers.c
Log Message:
rearrange debug logs to make more sense
Index: buffers.c
===================================================================
RCS file: /home2/or/cvsroot/tor/src/or/buffers.c,v
retrieving revision 1.121
retrieving revision 1.122
diff -u -d -r1.121 -r1.122
--- buffers.c 1 Dec 2004 03:48:13 -0000 1.121
+++ buffers.c 7 Dec 2004 21:57:10 -0000 1.122
@@ -264,9 +264,9 @@
return 0;
} else {
*buf_flushlen -= write_result;
- buf_remove_from_front(buf, write_result);
log_fn(LOG_DEBUG,"%d: flushed %d bytes, %d ready to flush, %d remain.",
s,write_result,(int)*buf_flushlen,(int)buf->datalen);
+ buf_remove_from_front(buf, write_result);
return write_result;
}
More information about the tor-commits
mailing list