summaryrefslogtreecommitdiff
path: root/src/or/relay.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2007-07-30 01:32:12 +0000
committerNick Mathewson <nickm@torproject.org>2007-07-30 01:32:12 +0000
commit915c4c3ab8faae79151fbeb0f2116b56d52b0f5d (patch)
treeb247296d0f94bb1ed2a0b8dc49b9ce2351684440 /src/or/relay.c
parenta3b8b2c4e362d74e56356faf9889c64b92e9eabc (diff)
downloadtor-915c4c3ab8faae79151fbeb0f2116b56d52b0f5d.tar.gz
tor-915c4c3ab8faae79151fbeb0f2116b56d52b0f5d.zip
r14001@catbus: nickm | 2007-07-29 21:31:53 -0400
Try to call time(NULL) a little less. svn:r10980
Diffstat (limited to 'src/or/relay.c')
-rw-r--r--src/or/relay.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/relay.c b/src/or/relay.c
index ff3293b5b2..364b976b5c 100644
--- a/src/or/relay.c
+++ b/src/or/relay.c
@@ -507,6 +507,7 @@ relay_send_command_from_edge(uint16_t stream_id, circuit_t *circ,
if (cell_direction == CELL_DIRECTION_OUT && circ->n_conn) {
/* if we're using relaybandwidthrate, this conn wants priority */
+ /* XXXX020 the call to time() seems little too frequent */
circ->n_conn->client_used = time(NULL);
}