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/status.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/status.c')
-rw-r--r-- | src/or/status.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/status.c b/src/or/status.c index d239e6ee75..6fe2f67bf4 100644 --- a/src/or/status.c +++ b/src/or/status.c @@ -23,7 +23,7 @@ count_circuits(void) circuit_t *circ; int nr=0; - for (circ = circuit_get_global_list_(); circ; circ = circ->next) + TOR_LIST_FOREACH(circ, circuit_get_global_list_(), head) nr++; return nr; |