diff options
author | Marek Majkowski <marek@popcount.org> | 2013-06-20 16:56:54 +0100 |
---|---|---|
committer | Marek Majkowski <marek@popcount.org> | 2013-06-20 16:56:54 +0100 |
commit | 1555876d5f27acaa9326045e33b6e2bfc1013c7f (patch) | |
tree | e20e6c8074ba92ffb29c84b86fd1697c99f61772 /src/or/rephist.c | |
parent | d7538b57b49669afef0cb3dd03e0ed1a118a98fd (diff) | |
download | tor-1555876d5f27acaa9326045e33b6e2bfc1013c7f.tar.gz tor-1555876d5f27acaa9326045e33b6e2bfc1013c7f.zip |
Fix #9108 - make global_circuitlist a doubly linked list
Diffstat (limited to 'src/or/rephist.c')
-rw-r--r-- | src/or/rephist.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/rephist.c b/src/or/rephist.c index c84322a679..0943a3434a 100644 --- a/src/or/rephist.c +++ b/src/or/rephist.c @@ -2599,7 +2599,7 @@ rep_hist_buffer_stats_write(time_t now) goto done; /* Not ready to write */ /* Add open circuits to the history. */ - for (circ = circuit_get_global_list_(); circ; circ = circ->next) { + TOR_LIST_FOREACH(circ, circuit_get_global_list_(), head) { rep_hist_buffer_stats_add_circ(circ, now); } |