diff options
author | Remi Collet <remi@php.net> | 2013-05-02 10:15:12 +0200 |
---|---|---|
committer | Remi Collet <remi@php.net> | 2013-05-02 10:15:12 +0200 |
commit | 8492bbefbb74ee0cd009884f6ee82c409ffbe018 (patch) | |
tree | 406ada016fe92df562d5d40c3134c6eac5765b06 | |
parent | a7d6cb2360fbfae782fe899086012ed8e291d744 (diff) | |
download | php-git-8492bbefbb74ee0cd009884f6ee82c409ffbe018.tar.gz |
use limit_extensions as we use security_limit_extensions later (free)
-rw-r--r-- | sapi/fpm/fpm/fpm_conf.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sapi/fpm/fpm/fpm_conf.c b/sapi/fpm/fpm/fpm_conf.c index 23641feeb6..d8a57c5bee 100644 --- a/sapi/fpm/fpm/fpm_conf.c +++ b/sapi/fpm/fpm/fpm_conf.c @@ -1024,8 +1024,8 @@ static int fpm_conf_process_all_pools() /* {{{ */ nb_ext = 0; /* parse the string and save the extension in the array */ - while ((ext = strtok(security_limit_extensions, " \t"))) { - security_limit_extensions = NULL; + while ((ext = strtok(limit_extensions, " \t"))) { + limit_extensions = NULL; wp->limit_extensions[nb_ext++] = strdup(ext); } |