nghttpx: Update doc

This commit is contained in:
Tatsuhiro Tsujikawa 2016-10-03 22:08:33 +09:00
parent 8c1e155f44
commit 3d5d76ba74
1 changed files with 1 additions and 0 deletions

View File

@ -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';