mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2026-03-09 09:01:51 +01:00
[BUILD] code did not build in full debug mode
This commit is contained in:
parent
8b3977ffe3
commit
b881608e57
@ -10,6 +10,7 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#include <assert.h>
|
||||
#include <errno.h>
|
||||
#include <fcntl.h>
|
||||
#include <stdio.h>
|
||||
|
||||
@ -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;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user