From c85504386d16f943cc79263187710a05cefea265 Mon Sep 17 00:00:00 2001 From: Jakub Zelenka Date: Sun, 22 Jul 2018 16:29:35 +0100 Subject: Rename none syslog.filter to all and update ini description --- main/php_syslog.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'main/php_syslog.c') diff --git a/main/php_syslog.c b/main/php_syslog.c index 3bb9ee86dd..fd31a12d8c 100644 --- a/main/php_syslog.c +++ b/main/php_syslog.c @@ -94,7 +94,7 @@ PHPAPI void php_syslog(int priority, const char *format, ...) /* {{{ */ else if (c == '\n') { syslog(priority, "%.*s", (int)sbuf.len, sbuf.c); smart_string_reset(&sbuf); - } else if ((c < 0x20) && (PG(syslog_filter) == PHP_SYSLOG_FILTER_NONE)) + } else if ((c < 0x20) && (PG(syslog_filter) == PHP_SYSLOG_FILTER_ALL)) smart_string_appendc(&sbuf, c); else { const char xdigits[] = "0123456789abcdef"; -- cgit v1.2.1