mirror of
https://github.com/haproxy/haproxy.git
synced 2026-03-26 20:33:29 -04:00
[BUILD] code did not build in full debug mode
This commit is contained in:
parent
8b3977ffe3
commit
b881608e57
2 changed files with 2 additions and 1 deletions
|
|
@ -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…
Reference in a new issue