Skip to content

Commit 9185c7d

Browse files
committed
main/php_syslog: make xdigits static
1 parent 2f64dc1 commit 9185c7d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main/php_syslog.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ PHPAPI void php_syslog_str(int priority, const zend_string* message)
5858
} else if ((c < 0x20) && (PG(syslog_filter) == PHP_SYSLOG_FILTER_ALL)) {
5959
smart_string_appendc(&sbuf, c);
6060
} else {
61-
const char xdigits[] = "0123456789abcdef";
61+
static const char xdigits[] = "0123456789abcdef";
6262

6363
smart_string_appendl(&sbuf, "\\x", 2);
6464
smart_string_appendc(&sbuf, xdigits[c >> 4]);

0 commit comments

Comments
 (0)