projects
/
haproxy-2.5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d48ed66
)
BUILD: listener: avoir a build warning when threads are disabled
author
Willy Tarreau
<w@1wt.eu>
Fri, 16 Oct 2020 15:43:04 +0000
(17:43 +0200)
committer
Willy Tarreau
<w@1wt.eu>
Fri, 16 Oct 2020 15:43:04 +0000
(17:43 +0200)
It's just a __decl_thread() that appeared before the last variable.
src/listener.c
patch
|
blob
|
history
diff --git
a/src/listener.c
b/src/listener.c
index
320fc5e
..
85191f5
100644
(file)
--- a/
src/listener.c
+++ b/
src/listener.c
@@
-762,8
+762,8
@@
void listener_accept(struct listener *l)
*/
for (; max_accept; next_conn = next_feconn = next_actconn = 0, max_accept--) {
unsigned int count;
- __decl_thread(unsigned long mask);
int status;
+ __decl_thread(unsigned long mask);
/* pre-increase the number of connections without going too far.
* We process the listener, then the proxy, then the process.