From b881608e5794bbde4d2da8bc5b3e10a2b32686e4 Mon Sep 17 00:00:00 2001 From: Willy Tarreau Date: Fri, 18 Jan 2008 12:18:15 +0100 Subject: [PATCH] [BUILD] code did not build in full debug mode --- src/checks.c | 1 + src/proto_http.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/checks.c b/src/checks.c index f0f18d3fdd..20ff8db03a 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 e3723c1b88..2ce67869d9 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; -- 2.47.3