]> granicus.if.org Git - libevent/commit
Use last_with_data in place of previous_to_last
authorNick Mathewson <nickm@torproject.org>
Thu, 11 Mar 2010 04:24:14 +0000 (23:24 -0500)
committerNick Mathewson <nickm@torproject.org>
Thu, 11 Mar 2010 04:24:14 +0000 (23:24 -0500)
commitc8ac57f1f58358dfdb1030143ab043b6addd0c3c
treed6b7b554860ff9ea57d5099c766d085fff391ef5
parent2a6d2a1e4be261e071f5ddb95be183e172643916
Use last_with_data in place of previous_to_last

This actually makes some of the code a lot simpler.  The only
ones that actually used previous_to_last for anything were reserving
and committing space.
buffer.c
evbuffer-internal.h
test/regress_buffer.c