diff options
author | Costa Tsaousis (ktsaou) <costa@tsaousis.gr> | 2016-04-15 03:18:00 +0300 |
---|---|---|
committer | Costa Tsaousis (ktsaou) <costa@tsaousis.gr> | 2016-04-15 03:18:00 +0300 |
commit | 1188686c7cc398d6a86fa8ee6704573d8aa050ad (patch) | |
tree | eaa5f9a4f0a8f3f93bc616c695c771bd1464fbc0 /src/web_server.c | |
parent | 18c59500a34b430e47d43cbd8eec465462febdb1 (diff) |
fixed a race condition when getgrnam() which is not thread safe, could be used in threads
Diffstat (limited to 'src/web_server.c')
-rw-r--r-- | src/web_server.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/web_server.c b/src/web_server.c index ab3e4357a6..10bf39a783 100644 --- a/src/web_server.c +++ b/src/web_server.c @@ -24,6 +24,7 @@ #include "global_statistics.h" #include "rrd.h" #include "rrd2json.h" +#include "../config.h" int listen_backlog = LISTEN_BACKLOG; |