summaryrefslogtreecommitdiff
path: root/src/or/buffers.c
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2007-04-25 07:20:04 +0000
committerRoger Dingledine <arma@torproject.org>2007-04-25 07:20:04 +0000
commit3d00738ec72e87d5d67f1c44f0a73217650a6a65 (patch)
tree1373aef4297bfb8cf22ce3c98c7f0386f30458ea /src/or/buffers.c
parent7c5f65c2267e243dfc8bea9c899e8f04a078ca36 (diff)
downloadtor-3d00738ec72e87d5d67f1c44f0a73217650a6a65.tar.gz
tor-3d00738ec72e87d5d67f1c44f0a73217650a6a65.zip
simplify connection_watch_events()
hope this doesn't break it svn:r10025
Diffstat (limited to 'src/or/buffers.c')
-rw-r--r--src/or/buffers.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/or/buffers.c b/src/or/buffers.c
index 26a5b9683c..6273c6699b 100644
--- a/src/or/buffers.c
+++ b/src/or/buffers.c
@@ -884,7 +884,8 @@ fetch_from_buf(char *string, size_t string_len, buf_t *buf)
return buf->datalen;
}
-/** Move up to <b>buf_flushlen</b> bytes from <b>buf_in</b> to <b>buf_out</b>.
+/** Move up to *<b>buf_flushlen</b> bytes from <b>buf_in</b> to
+ * <b>buf_out</b>, and modify *<b>buf_flushlen</b> appropriately.
* Return the number of bytes actually copied.
*/
int