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/or.h | |
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/or.h')
-rw-r--r-- | src/or/or.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/or/or.h b/src/or/or.h index 0436533a96..7177045e47 100644 --- a/src/or/or.h +++ b/src/or/or.h @@ -1361,10 +1361,10 @@ typedef struct connection_t { * connection. */ size_t outbuf_flushlen; /**< How much data should we try to flush from the * outbuf? */ - time_t timestamp_lastread; /**< When was the last time libevent said we could - * read? */ - time_t timestamp_lastwritten; /**< When was the last time libevent said we - * could write? */ + time_t timestamp_last_read_allowed; /**< When was the last time libevent said + * we could read? */ + time_t timestamp_last_write_allowed; /**< When was the last time libevent + * said we could write? */ time_t timestamp_created; /**< When was this connection_t created? */ |