diff options
Diffstat (limited to 'src/sp_config_keywords.c')
| -rw-r--r-- | src/sp_config_keywords.c | 4 |
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 | } |
