projects
/
haproxy-3.0.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8b3977f
)
[BUILD] code did not build in full debug mode
author
Willy Tarreau
<w@1wt.eu>
Fri, 18 Jan 2008 11:18:15 +0000
(12:18 +0100)
committer
Willy Tarreau
<w@1wt.eu>
Fri, 18 Jan 2008 11:18:15 +0000
(12:18 +0100)
src/checks.c
patch
|
blob
|
history
src/proto_http.c
patch
|
blob
|
history
diff --git
a/src/checks.c
b/src/checks.c
index
f0f18d3
..
20ff8db
100644
(file)
--- a/
src/checks.c
+++ b/
src/checks.c
@@
-10,6
+10,7
@@
*
*/
+#include <assert.h>
#include <errno.h>
#include <fcntl.h>
#include <stdio.h>
diff --git
a/src/proto_http.c
b/src/proto_http.c
index
e3723c1
..
2ce6786
100644
(file)
--- 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;