summaryrefslogtreecommitdiff
path: root/src/or/main.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2006-12-29 05:06:47 +0000
committerNick Mathewson <nickm@torproject.org>2006-12-29 05:06:47 +0000
commit26c0d6ec5861cec381af0b850163ff0a4ac65850 (patch)
tree358564cdbfc064f451e81ee81ab7a779838ce52b /src/or/main.c
parent361998d0f389b1a77035317b0f09587ca6ee3be2 (diff)
downloadtor-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/main.c')
-rw-r--r--src/or/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/main.c b/src/or/main.c
index 2247210bf9..7d4117adcc 100644
--- a/src/or/main.c
+++ b/src/or/main.c
@@ -440,7 +440,7 @@ conn_write_callback(int fd, short events, void *_conn)
assert_connection_ok(conn, time(NULL));
- if (connection_handle_write(conn) < 0) {
+ if (connection_handle_write(conn, 0) < 0) {
if (!conn->marked_for_close) {
/* this connection is broken. remove it. */
log_fn(LOG_WARN,LD_BUG,