Commit 6a2e6b74 authored by acesso's avatar acesso

Update shrpx_config.cc

declaration of make_socket_closeonexec need the proper scope here, it was there per request at https://github.com/tatsuhiro-t/nghttp2/pull/142 , not sure why is was removed.
parent 4de8db52
......@@ -253,7 +253,7 @@ FILE *open_file_for_write(const char *filename) {
// We get race condition if execve is called at the same time.
if (fd != -1) {
make_socket_closeonexec(fd);
util::make_socket_closeonexec(fd);
}
#endif
if (fd == -1) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment