diff options
author | Roger Dingledine <arma@torproject.org> | 2002-07-02 06:02:15 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2002-07-02 06:02:15 +0000 |
commit | c603e403dfad283506a140177c0d44a4351eacac (patch) | |
tree | e8785f0b0e65f5f23b17ab7b15573f331d697617 /src/or | |
parent | b503d4c6d63b1fc6a2af94c3200f40ba8dc4d31d (diff) | |
download | tor-c603e403dfad283506a140177c0d44a4351eacac.tar tor-c603e403dfad283506a140177c0d44a4351eacac.tar.gz |
fixed a critical bug in yesterday's changes to buffers.c
(starting to debug my OP integration)
svn:r18
Diffstat (limited to 'src/or')
-rw-r--r-- | src/or/buffers.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/buffers.c b/src/or/buffers.c index 6e851f5e3..cf511f7ad 100644 --- a/src/or/buffers.c +++ b/src/or/buffers.c @@ -64,7 +64,7 @@ int flush_buf(int s, char **buf, size_t *buflen, size_t *buf_datalen) { /* this is the point where you would grow the buffer, if you want to */ - write_result = write(s, buf, *buf_datalen); + write_result = write(s, *buf, *buf_datalen); if (write_result < 0) { if(errno!=EAGAIN) { /* it's a real error */ return -1; |