aboutsummaryrefslogtreecommitdiff
path: root/src/or/connection_edge.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/or/connection_edge.c')
-rw-r--r--src/or/connection_edge.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/or/connection_edge.c b/src/or/connection_edge.c
index 32fa77edd..849d4afe6 100644
--- a/src/or/connection_edge.c
+++ b/src/or/connection_edge.c
@@ -579,7 +579,8 @@ static int connection_ap_handshake_attach_circuit(connection_t *conn) {
connection_start_reading(conn);
- circ->timestamp_dirty = time(NULL);
+ if(!circ->timestamp_dirty)
+ circ->timestamp_dirty = time(NULL);
/* add it into the linked list of streams on this circuit */
log_fn(LOG_DEBUG,"attaching new conn to circ. n_circ_id %d.", circ->n_circ_id);