diff options
author | Nick Mathewson <nickm@torproject.org> | 2006-12-29 05:06:47 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2006-12-29 05:06:47 +0000 |
commit | 26c0d6ec5861cec381af0b850163ff0a4ac65850 (patch) | |
tree | 358564cdbfc064f451e81ee81ab7a779838ce52b /src/or/connection_or.c | |
parent | 361998d0f389b1a77035317b0f09587ca6ee3be2 (diff) | |
download | tor-26c0d6ec5861cec381af0b850163ff0a4ac65850.tar.gz tor-26c0d6ec5861cec381af0b850163ff0a4ac65850.zip |
r11743@Kushana: nickm | 2006-12-28 23:13:21 -0500
Refactor _connection_controller_force_write back into conncetion_handle_write. Again, the line count goes down: groovy!
svn:r9208
Diffstat (limited to 'src/or/connection_or.c')
-rw-r--r-- | src/or/connection_or.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/connection_or.c b/src/or/connection_or.c index bfb4247519..804848771c 100644 --- a/src/or/connection_or.c +++ b/src/or/connection_or.c @@ -717,7 +717,7 @@ connection_or_write_cell_to_buf(const cell_t *cell, or_connection_t *conn) int extra = conn->_base.outbuf_flushlen - MIN_TLS_FLUSHLEN; conn->_base.outbuf_flushlen = MIN_TLS_FLUSHLEN; connection_start_writing(TO_CONN(conn)); - if (connection_handle_write(TO_CONN(conn)) < 0) { + if (connection_handle_write(TO_CONN(conn), 0) < 0) { if (!conn->_base.marked_for_close) { /* this connection is broken. remove it. */ log_warn(LD_BUG, |