summaryrefslogtreecommitdiff
path: root/src/or
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2011-03-15 15:18:15 -0400
committerNick Mathewson <nickm@torproject.org>2011-03-15 15:18:15 -0400
commitab418447eb9838a8a6f5588e374910d753740d0f (patch)
tree14479dbdb2ad4d348972a87b7e3ab120b80a61bd /src/or
parent5938804d17f6b458fcec9d479cd734d2e0256631 (diff)
parent06f026de6624ea0591b8d08da9c5c69ffa44568c (diff)
downloadtor-ab418447eb9838a8a6f5588e374910d753740d0f.tar.gz
tor-ab418447eb9838a8a6f5588e374910d753740d0f.zip
Merge branch 'bug2757' into maint-0.2.2
Diffstat (limited to 'src/or')
-rw-r--r--src/or/connection.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/connection.c b/src/or/connection.c
index fd30ac8cb6..1894bc71ca 100644
--- a/src/or/connection.c
+++ b/src/or/connection.c
@@ -1178,7 +1178,7 @@ connection_handle_listener_read(connection_t *conn, int new_type)
}
if (connection_init_accepted_conn(newconn, conn->type) < 0) {
- if (! conn->marked_for_close)
+ if (! newconn->marked_for_close)
connection_mark_for_close(newconn);
return 0;
}