diff options
author | Caio Valente <valentecaio95@gmail.com> | 2018-02-01 03:12:38 +0100 |
---|---|---|
committer | Caio Valente <valentecaio95@gmail.com> | 2018-02-01 03:12:38 +0100 |
commit | 7884ce76e100abc220ddedb76c9b98d22d66d645 (patch) | |
tree | 43edbc147e262103c818f1267f9257208536623a /src/or/hs_client.c | |
parent | 2294e330bde259f6b575f301258783ce2947bdc0 (diff) | |
download | tor-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/hs_client.c')
-rw-r--r-- | src/or/hs_client.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/hs_client.c b/src/or/hs_client.c index 2999f85d3e..9311453645 100644 --- a/src/or/hs_client.c +++ b/src/or/hs_client.c @@ -1439,8 +1439,8 @@ hs_client_desc_has_arrived(const hs_ident_dir_conn_t *ident) * connection is considered "fresh" and can continue without being closed * too early. */ base_conn->timestamp_created = now; - base_conn->timestamp_lastread = now; - base_conn->timestamp_lastwritten = now; + base_conn->timestamp_last_read_allowed = now; + base_conn->timestamp_last_write_allowed = now; /* Change connection's state into waiting for a circuit. */ base_conn->state = AP_CONN_STATE_CIRCUIT_WAIT; |