diff options
author | Nick Mathewson <nickm@torproject.org> | 2017-09-06 14:55:58 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2017-09-22 08:55:53 -0400 |
commit | d1e0e486e9eafa7ba44e3ed49ce1b92fec9c7201 (patch) | |
tree | 3e3573a8bc392d41c78754f13753c46a2863f1f0 /src/or/command.c | |
parent | 66aff2d8f35217cc802bd46eeeaf49326d7de4b0 (diff) | |
download | tor-d1e0e486e9eafa7ba44e3ed49ce1b92fec9c7201.tar.gz tor-d1e0e486e9eafa7ba44e3ed49ce1b92fec9c7201.zip |
Stop clearing the is_client flag on channel directly
Diffstat (limited to 'src/or/command.c')
-rw-r--r-- | src/or/command.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/command.c b/src/or/command.c index 2c82984901..46d3b6291c 100644 --- a/src/or/command.c +++ b/src/or/command.c @@ -331,7 +331,7 @@ command_process_create_cell(cell_t *cell, channel_t *chan) // Needed for chutney: Sometimes relays aren't in the consensus yet, and // get marked as clients. This resets their channels once they appear. // Probably useful for normal operation wrt relay flapping, too. - chan->is_client = 0; + channel_clear_client(chan); } else { channel_mark_client(chan); } |