From: Willy Tarreau Date: Fri, 18 Jan 2008 11:18:15 +0000 (+0100) Subject: [BUILD] code did not build in full debug mode X-Git-Tag: v1.3.15~55 X-Git-Url: http://git.haproxy.org/?a=commitdiff_plain;h=b881608e5794bbde4d2da8bc5b3e10a2b32686e4;p=haproxy-3.0.git [BUILD] code did not build in full debug mode --- diff --git a/src/checks.c b/src/checks.c index f0f18d3..20ff8db 100644 --- a/src/checks.c +++ b/src/checks.c @@ -10,6 +10,7 @@ * */ +#include #include #include #include diff --git a/src/proto_http.c b/src/proto_http.c index e3723c1..2ce6786 100644 --- a/src/proto_http.c +++ b/src/proto_http.c @@ -634,7 +634,7 @@ void process_session(struct task *t, struct timeval *next) /* DEBUG code : this should never ever happen, otherwise it indicates * that a task still has something to do and will provoke a quick loop. */ - if (tv_remain2(&now, &t->expire) <= 0) + if (tv_ms_remain2(&now, &t->expire) <= 0) exit(100); #endif *next = t->expire;