aboutsummaryrefslogtreecommitdiff
path: root/src/or/directory.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2009-08-09 11:40:28 -0700
committerNick Mathewson <nickm@torproject.org>2010-09-27 12:31:13 -0400
commitddcb59bb70457e203247931aaad3a3ff8b923f97 (patch)
tree803eac2d836936d44043b7793f4e6706208504cd /src/or/directory.c
parent5279036148ca158f7c60f793f401604060b1c1ba (diff)
downloadtor-ddcb59bb70457e203247931aaad3a3ff8b923f97.tar.gz
tor-ddcb59bb70457e203247931aaad3a3ff8b923f97.zip
Fix more remaining users of inbuf/outbuf to handle bufferevents instead.
Diffstat (limited to 'src/or/directory.c')
-rw-r--r--src/or/directory.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/directory.c b/src/or/directory.c
index 2e9770eebf..284a1ad12f 100644
--- a/src/or/directory.c
+++ b/src/or/directory.c
@@ -1466,7 +1466,7 @@ connection_dir_client_reached_eof(dir_connection_t *conn)
int was_compressed=0;
time_t now = time(NULL);
- switch (fetch_from_buf_http(conn->_base.inbuf,
+ switch (connection_fetch_from_buf_http(TO_CONN(conn),
&headers, MAX_HEADERS_SIZE,
&body, &body_len, MAX_DIR_DL_SIZE,
allow_partial)) {
@@ -3299,7 +3299,7 @@ directory_handle_command(dir_connection_t *conn)
tor_assert(conn);
tor_assert(conn->_base.type == CONN_TYPE_DIR);
- switch (fetch_from_buf_http(conn->_base.inbuf,
+ switch (connection_fetch_from_buf_http(TO_CONN(conn),
&headers, MAX_HEADERS_SIZE,
&body, &body_len, MAX_DIR_UL_SIZE, 0)) {
case -1: /* overflow */