From 6a2e6b744f111232f608fada41a0ede192cadab2 Mon Sep 17 00:00:00 2001 From: acesso Date: Mon, 2 Mar 2015 17:14:09 -0300 Subject: [PATCH] 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. --- src/shrpx_config.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/shrpx_config.cc b/src/shrpx_config.cc index 580e3ccf..56fa337d 100644 --- a/src/shrpx_config.cc +++ b/src/shrpx_config.cc @@ -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) {