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/rendclient.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/rendclient.c')
-rw-r--r-- | src/or/rendclient.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/rendclient.c b/src/or/rendclient.c index 07fa33306d..29f1d9bd14 100644 --- a/src/or/rendclient.c +++ b/src/or/rendclient.c @@ -915,8 +915,8 @@ rend_client_desc_trynow(const char *query) /* restart their timeout values, so they get a fair shake at * connecting to the hidden service. */ 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; connection_ap_mark_as_pending_circuit(conn); } else { /* 404, or fetch didn't get that far */ |