diff options
Diffstat (limited to 'src/or/main.c')
-rw-r--r-- | src/or/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/main.c b/src/or/main.c index 7a394fd5af..e68c2fe7d4 100644 --- a/src/or/main.c +++ b/src/or/main.c @@ -272,7 +272,7 @@ static void run_connection_housekeeping(int i, time_t now) { /* we're an onion proxy, with no circuits; or our handshake has expired. kill it. */ log_fn(LOG_INFO,"Expiring connection to %d (%s:%d).", i,conn->address, conn->port); - conn->marked_for_close = 1; + connection_mark_for_close(conn,0); /* Suppress end ??? */ } else { /* either a full router, or we've got a circuit. send a padding cell. */ log_fn(LOG_DEBUG,"Sending keepalive to (%s:%d)", |