summaryrefslogtreecommitdiff
path: root/src/or/control.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2009-07-31 13:44:43 -0400
committerNick Mathewson <nickm@torproject.org>2010-09-27 12:28:43 -0400
commit051491780090c610c06882ead4b2cf17bc6c93df (patch)
treeea8d881bc7c290e692e5ba6ed7af188032c6ba3f /src/or/control.c
parent5448501479b61c0ed365b4a96ce9442125c397b9 (diff)
downloadtor-051491780090c610c06882ead4b2cf17bc6c93df.tar.gz
tor-051491780090c610c06882ead4b2cf17bc6c93df.zip
Add a new connection_fetch_from_buf_line() that can handle bufferevents
Diffstat (limited to 'src/or/control.c')
-rw-r--r--src/or/control.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/control.c b/src/or/control.c
index 4d505a98fb..436ee2ba8b 100644
--- a/src/or/control.c
+++ b/src/or/control.c
@@ -2801,7 +2801,7 @@ connection_control_process_inbuf(control_connection_t *conn)
/* First, fetch a line. */
do {
data_len = conn->incoming_cmd_len - conn->incoming_cmd_cur_len;
- r = fetch_from_buf_line(conn->_base.inbuf,
+ r = connection_fetch_from_buf_line(TO_CONN(conn),
conn->incoming_cmd+conn->incoming_cmd_cur_len,
&data_len);
if (r == 0)