[or-cvs] r12991: Actually trim freelists. (in tor/trunk: . src/or)
nickm at seul.org
nickm at seul.org
Thu Dec 27 00:25:54 UTC 2007
Author: nickm
Date: 2007-12-26 19:25:54 -0500 (Wed, 26 Dec 2007)
New Revision: 12991
Modified:
tor/trunk/
tor/trunk/src/or/buffers.c
Log:
r15723 at tombo: nickm | 2007-12-26 19:25:51 -0500
Actually trim freelists.
Property changes on: tor/trunk
___________________________________________________________________
svk:merge ticket from /tor/trunk [r15723] on d9e39d38-0f13-419c-a857-e10a0ce2aa0c
Modified: tor/trunk/src/or/buffers.c
===================================================================
--- tor/trunk/src/or/buffers.c 2007-12-26 22:07:14 UTC (rev 12990)
+++ tor/trunk/src/or/buffers.c 2007-12-27 00:25:54 UTC (rev 12991)
@@ -247,8 +247,9 @@
--n_to_free;
}
tor_assert(!n_to_free);
- freelists[i].lowest_length = freelists[i].cur_length = n_to_skip;
+ freelists[i].cur_length = n_to_skip;
}
+ freelists[i].lowest_length = freelists[i].cur_length;
assert_freelist_ok(&freelists[i]);
}
}
More information about the tor-commits
mailing list