commit | 1bc04c766432a9180cb011f7ca5390fc77789223 | [log] [tgz] |
---|---|---|
author | Christopher Faulet <cfaulet@haproxy.com> | Sun Oct 29 20:14:08 2017 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Tue Oct 31 13:58:33 2017 +0100 |
tree | 254b92d36e8870b76af3f7a0bbdc9c0e4d8e69af | |
parent | cd7879adc2c408cd607bb287318d8152eb059872 [diff] [blame] |
BUG/MINOR: threads: Add missing THREAD_LOCAL on static here and there
diff --git a/src/raw_sock.c b/src/raw_sock.c index 5bef5f7..ad02101 100644 --- a/src/raw_sock.c +++ b/src/raw_sock.c
@@ -69,7 +69,7 @@ int raw_sock_to_pipe(struct connection *conn, struct pipe *pipe, unsigned int count) { #ifndef ASSUME_SPLICE_WORKS - static int splice_detects_close; + static THREAD_LOCAL int splice_detects_close; #endif int ret; int retval = 0;