diff options
author | Mike Perry <mikeperry-git@torproject.org> | 2017-04-20 15:00:46 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2017-05-08 13:49:23 -0400 |
commit | 02a5835c27780e45f705fc1c044b9c471b929dbe (patch) | |
tree | 1d581cfd49d18bfa5da6b1e3a97da1628eedb60c /src/or/connection_or.c | |
parent | 687a85950afc25010c80cd14539728b3a7ae5675 (diff) | |
download | tor-02a5835c27780e45f705fc1c044b9c471b929dbe.tar.gz tor-02a5835c27780e45f705fc1c044b9c471b929dbe.zip |
Fix issues from dgoulet's code review.
https://gitlab.com/dgoulet/tor/merge_requests/24
Diffstat (limited to 'src/or/connection_or.c')
-rw-r--r-- | src/or/connection_or.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/connection_or.c b/src/or/connection_or.c index c77e364717..0ee3fce618 100644 --- a/src/or/connection_or.c +++ b/src/or/connection_or.c @@ -1976,7 +1976,7 @@ connection_or_write_cell_to_buf(const cell_t *cell, or_connection_t *conn) if (conn->chan) { channel_timestamp_active(TLS_CHAN_TO_BASE(conn->chan)); - if (conn->chan->base_.currently_padding) { + if (TLS_CHAN_TO_BASE(conn->chan)->currently_padding) { rep_hist_padding_count_write(PADDING_TYPE_ENABLED_TOTAL); if (cell->command == CELL_PADDING) rep_hist_padding_count_write(PADDING_TYPE_ENABLED_CELL); |