From 12ea3a26b2f4b85ac22b6b37a562a87e6cfc7dc1 Mon Sep 17 00:00:00 2001 From: Roger Dingledine Date: Mon, 25 Apr 2005 15:43:05 +0000 Subject: bugfix: make a debug log stop lying svn:r4110 --- src/or/buffers.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/or/buffers.c') diff --git a/src/or/buffers.c b/src/or/buffers.c index 7edc2cdf34..c437d49872 100644 --- a/src/or/buffers.c +++ b/src/or/buffers.c @@ -263,7 +263,7 @@ int flush_buf(int s, buf_t *buf, size_t *buf_flushlen) } else { *buf_flushlen -= 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); + s,write_result,(int)*buf_flushlen,(int)buf->datalen-write_result); buf_remove_from_front(buf, write_result); return write_result; -- cgit v1.2.3-54-g00ecf