summaryrefslogtreecommitdiff
path: root/src/or/relay.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2017-12-21 10:57:45 -0500
committerNick Mathewson <nickm@torproject.org>2017-12-21 10:57:45 -0500
commit1eeb505e6f08591c39e0a000efab3948ef1ef5b5 (patch)
treed1a8c5f88468576294fd4aa8194a9262d96475b8 /src/or/relay.c
parentb8a3602b2a7114f2027d4a3af27520b109762efd (diff)
downloadtor-1eeb505e6f08591c39e0a000efab3948ef1ef5b5.tar.gz
tor-1eeb505e6f08591c39e0a000efab3948ef1ef5b5.zip
In 0.3.3, we use timestamps, not absolute milliseconds.
Diffstat (limited to 'src/or/relay.c')
-rw-r--r--src/or/relay.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/relay.c b/src/or/relay.c
index 8ef66f03c2..ac2a98e125 100644
--- a/src/or/relay.c
+++ b/src/or/relay.c
@@ -2565,7 +2565,7 @@ destroy_cell_queue_append(destroy_cell_queue_t *queue,
cell->circid = circid;
cell->reason = reason;
/* Not yet used, but will be required for OOM handling. */
- cell->inserted_time = (uint32_t) monotime_coarse_absolute_msec();
+ cell->inserted_timestamp = monotime_coarse_get_stamp();
TOR_SIMPLEQ_INSERT_TAIL(&queue->head, cell, next);
++queue->n;