diff options
author | Mike Perry <mikeperry-git@fscked.org> | 2012-12-09 23:47:04 -0800 |
---|---|---|
committer | Mike Perry <mikeperry-git@fscked.org> | 2012-12-09 23:47:04 -0800 |
commit | 4590993ff3d4393caaa1d9d68d04cf0af95c23c7 (patch) | |
tree | 943e39fd58833d90e345c20d7a399f3d244573f4 /src/or/connection_edge.c | |
parent | b75880d7b3d02f5c60bf2e215c6e84da4f3e1938 (diff) | |
download | tor-4590993ff3d4393caaa1d9d68d04cf0af95c23c7.tar.gz tor-4590993ff3d4393caaa1d9d68d04cf0af95c23c7.zip |
Space fixes.
Diffstat (limited to 'src/or/connection_edge.c')
-rw-r--r-- | src/or/connection_edge.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/or/connection_edge.c b/src/or/connection_edge.c index ca6060ca57..570ffe4941 100644 --- a/src/or/connection_edge.c +++ b/src/or/connection_edge.c @@ -2184,13 +2184,13 @@ connection_ap_handshake_socks_reply(entry_connection_t *conn, char *reply, endreason == END_STREAM_REASON_CONNRESET || endreason == END_STREAM_REASON_NOROUTE || endreason == END_STREAM_REASON_RESOURCELIMIT) { - if(!conn->edge_.on_circuit || + if (!conn->edge_.on_circuit || !CIRCUIT_IS_ORIGIN(conn->edge_.on_circuit)) { // DNS remaps can trigger this. So can failed hidden service // lookups. log_info(LD_BUG, - "(Harmless.) No origin circuit for successful SOCKS stream %ld. " - "Reason: %d", ENTRY_TO_CONN(conn)->global_identifier, endreason); + "No origin circuit for successful SOCKS stream %ld. Reason: " + "%d", ENTRY_TO_CONN(conn)->global_identifier, endreason); } else { TO_ORIGIN_CIRCUIT(conn->edge_.on_circuit)->path_state = PATH_STATE_USE_SUCCEEDED; |