From: Gordon Oheim Date: Fri, 13 Nov 2015 14:01:10 +0000 (+0100) Subject: Fix naming X-Git-Tag: php-7.1.0alpha1~619^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0dc8a8cac006bf83d73c18e0cd1f0c19c7af3366;p=php Fix naming The global section is named "General", but the correct section name is "global". It is "global" in #1313 and also "global" in https://github.com/php/php-src/blob/master/sapi/fpm/php-fpm.conf.in. The commit fixes the naming. However, the proposed change might break any tooling that relies on finding "General" in the output though. --- diff --git a/sapi/fpm/fpm/fpm_conf.c b/sapi/fpm/fpm/fpm_conf.c index 9a619ce887..2a92fb25a7 100644 --- a/sapi/fpm/fpm/fpm_conf.c +++ b/sapi/fpm/fpm/fpm_conf.c @@ -1573,7 +1573,7 @@ static void fpm_conf_dump() /* {{{ */ /* * Please keep the same order as in fpm_conf.h and in php-fpm.conf.in */ - zlog(ZLOG_NOTICE, "[General]"); + zlog(ZLOG_NOTICE, "[global]"); zlog(ZLOG_NOTICE, "\tpid = %s", STR2STR(fpm_global_config.pid_file)); zlog(ZLOG_NOTICE, "\terror_log = %s", STR2STR(fpm_global_config.error_log)); #ifdef HAVE_SYSLOG_H