mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-28 14:23:30 +01:00
rearrange debug logs to make more sense
svn:r3116
This commit is contained in:
parent
33cf6f2f61
commit
ad4f440e10
@ -264,9 +264,9 @@ int flush_buf(int s, buf_t *buf, size_t *buf_flushlen)
|
|||||||
return 0;
|
return 0;
|
||||||
} else {
|
} else {
|
||||||
*buf_flushlen -= write_result;
|
*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.",
|
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);
|
||||||
|
buf_remove_from_front(buf, write_result);
|
||||||
|
|
||||||
return write_result;
|
return write_result;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user