[BUILD] code did not build in full debug mode

This commit is contained in:
Willy Tarreau 2008-01-18 12:18:15 +01:00
parent 8b3977ffe3
commit b881608e57
2 changed files with 2 additions and 1 deletions

View File

@ -10,6 +10,7 @@
*
*/
#include <assert.h>
#include <errno.h>
#include <fcntl.h>
#include <stdio.h>

View File

@ -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;