Commit 148e2e1c authored by Nick Mathewson's avatar Nick Mathewson 🐛
Browse files

r17403@catbus: nickm | 2007-12-26 22:23:50 -0500

 Apparently loops work better when you actually increment/decrement the loop variable.  Who knew?


svn:r12992
parent 1503021e
......@@ -237,6 +237,7 @@ buf_shrink_freelists(int free_all)
while (n_to_skip) {
tor_assert((*chp)->next);
chp = &(*chp)->next;
--n_to_skip;
}
chunk = *chp;
*chp = NULL;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment