diff options
author | Nick Mathewson <nickm@torproject.org> | 2013-03-22 14:25:34 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2013-07-18 11:23:45 -0400 |
commit | 1047e7dcb05cbf4c98276d00c157cf0506b451d5 (patch) | |
tree | caa1da14b4e00506d682c2f9a156f8325c76bace /src/or/circuitmux.c | |
parent | 27ec1fafe4a739429ac82d47015465bb5a2d9674 (diff) | |
download | tor-1047e7dcb05cbf4c98276d00c157cf0506b451d5.tar tor-1047e7dcb05cbf4c98276d00c157cf0506b451d5.tar.gz |
Use TOR_SIMPLEQ for packed_cell_t
Diffstat (limited to 'src/or/circuitmux.c')
-rw-r--r-- | src/or/circuitmux.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/circuitmux.c b/src/or/circuitmux.c index 081416368..77cb2f98b 100644 --- a/src/or/circuitmux.c +++ b/src/or/circuitmux.c @@ -510,7 +510,7 @@ circuitmux_mark_destroyed_circids_usable(circuitmux_t *cmux, channel_t *chan) { packed_cell_t *cell; int n_bad = 0; - for (cell = cmux->destroy_cell_queue.head; cell; cell = cell->next) { + TOR_SIMPLEQ_FOREACH(cell, &cmux->destroy_cell_queue.head, next) { circid_t circid = 0; if (packed_cell_is_destroy(chan, cell, &circid)) { channel_mark_circid_usable(chan, circid); |