summaryrefslogtreecommitdiff
path: root/src/sp_config_keywords.c
diff options
context:
space:
mode:
authorjvoisin2025-10-02 12:16:29 +0200
committerjvoisin2025-10-02 12:16:29 +0200
commit09bc3ffc8734cf2437e14ab123c7b732db53b836 (patch)
treea7ab04ed2ad5d1848068af8d6e4849ed35153ca4 /src/sp_config_keywords.c
parent9509733befcb4010bc77b06fcf41e77078976e80 (diff)
Rename a handful of global constants
Diffstat (limited to 'src/sp_config_keywords.c')
-rw-r--r--src/sp_config_keywords.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sp_config_keywords.c b/src/sp_config_keywords.c
index 796b44b..a5b4c5d 100644
--- a/src/sp_config_keywords.c
+++ b/src/sp_config_keywords.c
@@ -60,11 +60,11 @@ SP_PARSEKW_FN(parse_log_media) {
60 SP_PARSE_ARG(value); 60 SP_PARSE_ARG(value);
61 61
62 if (!strcmp(ZSTR_VAL(value), "php")) { 62 if (!strcmp(ZSTR_VAL(value), "php")) {
63 *(char*)retval = SP_ZEND; 63 *(char*)retval = SP_LOG_ZEND;
64 zend_string_release_ex(value, 1); 64 zend_string_release_ex(value, 1);
65 return SP_PARSER_SUCCESS; 65 return SP_PARSER_SUCCESS;
66 } else if (!strcmp(ZSTR_VAL(value), "syslog")) { 66 } else if (!strcmp(ZSTR_VAL(value), "syslog")) {
67 *(char*)retval = SP_SYSLOG; 67 *(char*)retval = SP_LOG_SYSLOG;
68 zend_string_release_ex(value, 1); 68 zend_string_release_ex(value, 1);
69 return SP_PARSER_SUCCESS; 69 return SP_PARSER_SUCCESS;
70 } 70 }