]> granicus.if.org Git - php/commitdiff
use limit_extensions as we use security_limit_extensions later (free)
authorRemi Collet <remi@php.net>
Thu, 2 May 2013 08:15:12 +0000 (10:15 +0200)
committerRemi Collet <remi@php.net>
Thu, 2 May 2013 08:15:12 +0000 (10:15 +0200)
sapi/fpm/fpm/fpm_conf.c

index 23641feeb600f8d0ee0c86e777d25f66657f3363..d8a57c5bee1b1c589fe804fa90bdc67342eaf1e8 100644 (file)
@@ -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);
                                }