Commit 3d5d76ba authored by Tatsuhiro Tsujikawa's avatar Tatsuhiro Tsujikawa

nghttpx: Update doc

parent 8c1e155f
...@@ -888,6 +888,7 @@ std::vector<InheritedAddr> get_inherited_addr_from_env(Config *config) { ...@@ -888,6 +888,7 @@ std::vector<InheritedAddr> get_inherited_addr_from_env(Config *config) {
} }
} }
} else { } else {
// The return value of getenv may be allocated statically.
if (getenv(ENV_UNIX_PATH.c_str()) && getenv(ENV_UNIX_FD.c_str())) { if (getenv(ENV_UNIX_PATH.c_str()) && getenv(ENV_UNIX_FD.c_str())) {
auto name = ENV_ACCEPT_PREFIX.str(); auto name = ENV_ACCEPT_PREFIX.str();
name += '1'; name += '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