]> git.ipfire.org Git - thirdparty/haproxy.git/commit
[MEDIUM] implement and use tv_cmp2_le instead of tv_cmp2_ms
authorWilly Tarreau <w@1wt.eu>
Sun, 29 Apr 2007 08:50:43 +0000 (10:50 +0200)
committerWilly Tarreau <w@1wt.eu>
Sun, 29 Apr 2007 11:44:43 +0000 (13:44 +0200)
commit8d7d1497e0d34fb1b78ea0a9ce4ac1999140d6aa
tree12c0d2920214359b05eacc7d15ccfe9e6bffe314
parenta6a6a93e5609e7aaab31af58aaada2221ef78ec4
[MEDIUM] implement and use tv_cmp2_le instead of tv_cmp2_ms

tv_cmp2_ms handles multiple combinations of tv1 and tv2, but only
one form is used: (tv1 <= tv2). So it is overkill to use it everywhere.
A new function designed to do exactly this has been written for that
purpose: tv_cmp2_le. Also, removed old unused tv_* functions.
include/common/time.h
src/proto_http.c
src/time.c