aboutsummaryrefslogtreecommitdiff
path: root/src/or/relay.c
diff options
context:
space:
mode:
authorCaio Valente <valentecaio95@gmail.com>2018-02-01 03:12:38 +0100
committerCaio Valente <valentecaio95@gmail.com>2018-02-01 03:12:38 +0100
commit7884ce76e100abc220ddedb76c9b98d22d66d645 (patch)
tree43edbc147e262103c818f1267f9257208536623a /src/or/relay.c
parent2294e330bde259f6b575f301258783ce2947bdc0 (diff)
downloadtor-7884ce76e100abc220ddedb76c9b98d22d66d645.tar.gz
tor-7884ce76e100abc220ddedb76c9b98d22d66d645.zip
refactor: rename connection_t struct fields.
connection_t.timestamp_lastwritten renamed to connection_t.timestamp_last_write_allowed connection_t.timestamp_lastread renamed to connection_t.timestamp_last_read_allowed Closes ticket 24714.
Diffstat (limited to 'src/or/relay.c')
-rw-r--r--src/or/relay.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/relay.c b/src/or/relay.c
index b1b99526df..caccb1282f 100644
--- a/src/or/relay.c
+++ b/src/or/relay.c
@@ -1449,7 +1449,7 @@ connection_edge_process_relay_cell_not_open(
"after %d seconds.",
(unsigned)circ->n_circ_id,
rh->stream_id,
- (int)(time(NULL) - conn->base_.timestamp_lastread));
+ (int)(time(NULL) - conn->base_.timestamp_last_read_allowed));
if (connected_cell_parse(rh, cell, &addr, &ttl) < 0) {
log_fn(LOG_PROTOCOL_WARN, LD_APP,
"Got a badly formatted connected cell. Closing.");