diff options
author | David Goulet <dgoulet@torproject.org> | 2017-11-21 15:13:20 -0500 |
---|---|---|
committer | David Goulet <dgoulet@torproject.org> | 2017-11-22 15:50:13 -0500 |
commit | 1dc4f96d9c630aa562a15958b29848a25b458c84 (patch) | |
tree | 340743675e3bf446244d9ee26acad9ee42337aea /src/or/circuitbuild.c | |
parent | 163477b11eae5cebbf5b4298871838f618b50bd5 (diff) | |
download | tor-1dc4f96d9c630aa562a15958b29848a25b458c84.tar.gz tor-1dc4f96d9c630aa562a15958b29848a25b458c84.zip |
channel: Remove nickname attribute from channel_t
This was never set thus never could have been used. Get rid of it to simplify
the code.
Signed-off-by: David Goulet <dgoulet@torproject.org>
Diffstat (limited to 'src/or/circuitbuild.c')
-rw-r--r-- | src/or/circuitbuild.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/or/circuitbuild.c b/src/or/circuitbuild.c index 2e6b63b4d6..4e9d2457c4 100644 --- a/src/or/circuitbuild.c +++ b/src/or/circuitbuild.c @@ -631,8 +631,7 @@ circuit_n_chan_done(channel_t *chan, int status, int close_origin_circuits) tor_assert(chan); - log_debug(LD_CIRC,"chan to %s/%s, status=%d", - chan->nickname ? chan->nickname : "NULL", + log_debug(LD_CIRC,"chan to %s, status=%d", channel_get_canonical_remote_descr(chan), status); pending_circs = smartlist_new(); |