diff options
author | Nick Mathewson <nickm@torproject.org> | 2017-05-08 13:57:08 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2017-05-08 13:57:08 -0400 |
commit | fb97f76e71ab06abe4b4927f743f6683e7aaedab (patch) | |
tree | 4309e9c42182c9d7c83c9533ea5c9e42e59c1f89 /src/or/channeltls.c | |
parent | 4d30dde15670bd4fb572025116304286880db636 (diff) | |
download | tor-fb97f76e71ab06abe4b4927f743f6683e7aaedab.tar.gz tor-fb97f76e71ab06abe4b4927f743f6683e7aaedab.zip |
whitespace fixes
Diffstat (limited to 'src/or/channeltls.c')
-rw-r--r-- | src/or/channeltls.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/or/channeltls.c b/src/or/channeltls.c index 4cdd554174..f44e4fc8ea 100644 --- a/src/or/channeltls.c +++ b/src/or/channeltls.c @@ -1806,12 +1806,13 @@ channel_tls_process_netinfo_cell(cell_t *cell, channel_tls_t *chan) if (me && !TLS_CHAN_TO_BASE(chan)->is_canonical_to_peer && channel_is_canonical(TLS_CHAN_TO_BASE(chan))) { + const char *descr = + TLS_CHAN_TO_BASE(chan)->get_remote_descr(TLS_CHAN_TO_BASE(chan), 0); log_info(LD_OR, "We made a connection to a relay at %s (fp=%s) but we think " "they will not consider this connection canonical. They " "think we are at %s, but we think its %s.", - safe_str(TLS_CHAN_TO_BASE(chan)->get_remote_descr(TLS_CHAN_TO_BASE(chan), - 0)), + safe_str(descr), safe_str(hex_str(chan->conn->identity_digest, DIGEST_LEN)), safe_str(tor_addr_is_null(&my_apparent_addr) ? "<none>" : fmt_and_decorate_addr(&my_apparent_addr)), |