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.
This commit is contained in:
acesso 2015-03-02 17:14:09 -03:00
parent 4de8db523f
commit 6a2e6b744f
1 changed files with 1 additions and 1 deletions

View File

@ -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) {