summaryrefslogtreecommitdiff
path: root/src/or/rephist.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2013-08-15 15:36:04 -0400
committerNick Mathewson <nickm@torproject.org>2013-08-15 15:36:04 -0400
commitd4634d1b72d660b1ea5ce9874fcd6b04a15968e9 (patch)
tree57ee2a0b0a1b5c41d13ac455884a826b000c675e /src/or/rephist.c
parent1743144c341218e4af88423cccd2bf93e72730a1 (diff)
parent1555876d5f27acaa9326045e33b6e2bfc1013c7f (diff)
downloadtor-d4634d1b72d660b1ea5ce9874fcd6b04a15968e9.tar.gz
tor-d4634d1b72d660b1ea5ce9874fcd6b04a15968e9.zip
Merge remote-tracking branch 'majek/bug9108'
Conflicts: src/or/circuitlist.h
Diffstat (limited to 'src/or/rephist.c')
-rw-r--r--src/or/rephist.c2
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);
}