diff options
author | teor <teor2345@gmail.com> | 2017-09-19 14:26:04 +1000 |
---|---|---|
committer | teor <teor2345@gmail.com> | 2017-09-19 14:30:27 +1000 |
commit | 429d88ad6a9c52de3cdf8e6a3699e20650b59faa (patch) | |
tree | 69eb2a51a9109e9dc7301be27d0b6bfe16ecad96 /src/or/connection_or.c | |
parent | 228d782229dea07e225cd2d00cc108790866cb26 (diff) | |
download | tor-429d88ad6a9c52de3cdf8e6a3699e20650b59faa.tar.gz tor-429d88ad6a9c52de3cdf8e6a3699e20650b59faa.zip |
Improve comments around connection_or_client_used()
Diffstat (limited to 'src/or/connection_or.c')
-rw-r--r-- | src/or/connection_or.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/or/connection_or.c b/src/or/connection_or.c index e4fda7ce78..9e34063609 100644 --- a/src/or/connection_or.c +++ b/src/or/connection_or.c @@ -1743,8 +1743,9 @@ connection_or_client_learned_peer_id(or_connection_t *conn, return 0; } -/** Return when a client used this, for connection.c, since client_used - * is now one of the timestamps of channel_t */ +/** Return when we last used this channel for client activity (origin + * circuits). This is called from connection.c, since client_used is now one + * of the timestamps in channel_t */ time_t connection_or_client_used(or_connection_t *conn) @@ -1758,7 +1759,7 @@ connection_or_client_used(or_connection_t *conn) /** The v1/v2 TLS handshake is finished. * - * Make sure we are happy with the person we just handshaked with. + * Make sure we are happy with the peer we just handshaked with. * * If they initiated the connection, make sure they're not already connected, * then initialize conn from the information in router. |