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
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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;