summaryrefslogtreecommitdiff
path: root/src/test/test_util.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2010-01-25 14:09:58 -0500
committerNick Mathewson <nickm@torproject.org>2010-01-25 14:09:58 -0500
commit2590d733f4f3c6968bcdcb9880875ea90295ea80 (patch)
tree3c779d0591cc6d3cd04f34d555b2d0c907e1bfa1 /src/test/test_util.c
parentab87b61a9d1e18d85229c9fbf6c3862cea6a7bdd (diff)
downloadtor-2590d733f4f3c6968bcdcb9880875ea90295ea80.tar.gz
tor-2590d733f4f3c6968bcdcb9880875ea90295ea80.zip
Try to untangle the logic in server_port_flush
It's a bit confusing to have a loop where another function, confusingly named "*_free", is responsible for advancing the loop variable (or rather, for altering a structure so that the next time the loop variable's initializer is evaluated it evaluates to something different.) Not only has this confused people: it's also confused coverity scan. Let's fix that.
Diffstat (limited to 'src/test/test_util.c')
0 files changed, 0 insertions, 0 deletions