diff options
author | Roger Dingledine <arma@torproject.org> | 2008-09-14 08:35:41 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2008-09-14 08:35:41 +0000 |
commit | 2bde30efa6027ccc1ff53f784164a5e218fce93b (patch) | |
tree | 64efd6525466e7b57cd0202582d6b7854c58fbfc /src/or/or.h | |
parent | 7f2fd346457683a908406f76936d2518c73c461b (diff) | |
download | tor-2bde30efa6027ccc1ff53f784164a5e218fce93b.tar.gz tor-2bde30efa6027ccc1ff53f784164a5e218fce93b.zip |
read_to_buf should take an int *error_socket and return it.
svn:r16909
Diffstat (limited to 'src/or/or.h')
-rw-r--r-- | src/or/or.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/or/or.h b/src/or/or.h index 81345e2f2f..5ad3d59b21 100644 --- a/src/or/or.h +++ b/src/or/or.h @@ -2558,7 +2558,8 @@ size_t buf_allocation(const buf_t *buf); size_t buf_slack(const buf_t *buf); const char *_buf_peek_raw_buffer(const buf_t *buf); -int read_to_buf(int s, size_t at_most, buf_t *buf, int *reached_eof); +int read_to_buf(int s, size_t at_most, buf_t *buf, int *reached_eof, + int *socket_error); int read_to_buf_tls(tor_tls_t *tls, size_t at_most, buf_t *buf); int flush_buf(int s, buf_t *buf, size_t sz, size_t *buf_flushlen); |