mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-24 12:23:32 +01:00
bugfix: make a debug log stop lying
svn:r4110
This commit is contained in:
parent
b381e5d2f4
commit
12ea3a26b2
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user