summaryrefslogtreecommitdiff
path: root/src/or/buffers.c
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2004-11-21 11:20:28 +0000
committerRoger Dingledine <arma@torproject.org>2004-11-21 11:20:28 +0000
commit27b87972451325d76fbbcd6ac516427052b097ec (patch)
tree50dd89e7175ae5299ea761acb7d25e0bc3a51057 /src/or/buffers.c
parent310a8da0d2ef457a245843268677f50c6ea84a98 (diff)
downloadtor-27b87972451325d76fbbcd6ac516427052b097ec.tar.gz
tor-27b87972451325d76fbbcd6ac516427052b097ec.zip
clean up some more.
i think i'm getting closer. svn:r2931
Diffstat (limited to 'src/or/buffers.c')
-rw-r--r--src/or/buffers.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/buffers.c b/src/or/buffers.c
index 7c230f0cf9..cf71c1045a 100644
--- a/src/or/buffers.c
+++ b/src/or/buffers.c
@@ -159,9 +159,9 @@ void buf_free(buf_t *buf) {
}
/** Read from socket <b>s</b>, writing onto end of <b>buf</b>. Read at most
- * <b>at_most</b> bytes, resizing the buffer as necessary. If read()
+ * <b>at_most</b> bytes, resizing the buffer as necessary. If recv()
* returns 0, set <b>*reached_eof</b> to 1 and return 0. Return -1 on error;
- * else return the number of bytes read. Return 0 if read() would
+ * else return the number of bytes read. Return 0 if recv() would
* block.
*/
int read_to_buf(int s, size_t at_most, buf_t *buf, int *reached_eof) {