diff options
author | Nick Mathewson <nickm@torproject.org> | 2006-07-26 19:07:37 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2006-07-26 19:07:37 +0000 |
commit | ec82db6995e260b9400ded5a767e1f9c60a3cb18 (patch) | |
tree | 889f533f374f4c38c4066c9f428d994d2727c5c0 /src/or/main.c | |
parent | 4ff4577beb7b7aa286059a5070b23357fff48bf3 (diff) | |
download | tor-ec82db6995e260b9400ded5a767e1f9c60a3cb18.tar.gz tor-ec82db6995e260b9400ded5a767e1f9c60a3cb18.zip |
r6909@Kushana: nickm | 2006-07-26 13:05:58 -0400
Clean up wide lines from last patch.
svn:r6907
Diffstat (limited to 'src/or/main.c')
-rw-r--r-- | src/or/main.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/or/main.c b/src/or/main.c index 80516d34e8..6d0ab93c7c 100644 --- a/src/or/main.c +++ b/src/or/main.c @@ -444,8 +444,10 @@ conn_write_callback(int fd, short events, void *_conn) "Bug: unhandled error on write for %s connection (fd %d); removing", conn_type_to_string(conn->type), conn->s); tor_fragile_assert(); - if (CONN_IS_EDGE(conn)) - conn->edge_has_sent_end = 1; /* otherwise we cry wolf about duplicate close */ + if (CONN_IS_EDGE(conn)) { + /* otherwise we cry wolf about duplicate close */ + conn->edge_has_sent_end = 1; + } /* XXX do we need a close-immediate here, so we don't try to flush? */ connection_mark_for_close(conn); } @@ -552,7 +554,8 @@ directory_all_unreachable(time_t now) "Failing connection to '%s:%d'.", safe_str(edge_conn->socks_request->address), edge_conn->socks_request->port); - connection_mark_unattached_ap(edge_conn, END_STREAM_REASON_NET_UNREACHABLE); + connection_mark_unattached_ap(edge_conn, + END_STREAM_REASON_NET_UNREACHABLE); } } |