summaryrefslogtreecommitdiff
path: root/src/sp_config_keywords.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/sp_config_keywords.c')
-rw-r--r--src/sp_config_keywords.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/sp_config_keywords.c b/src/sp_config_keywords.c
index 0150a1e..ba9ee7c 100644
--- a/src/sp_config_keywords.c
+++ b/src/sp_config_keywords.c
@@ -33,8 +33,8 @@ SP_PARSE_FN(parse_session) {
33 {parse_empty, SP_TOKEN_ENCRYPT, &(cfg->encrypt)}, 33 {parse_empty, SP_TOKEN_ENCRYPT, &(cfg->encrypt)},
34 {parse_empty, SP_TOKEN_SIMULATION, &(cfg->simulation)}, 34 {parse_empty, SP_TOKEN_SIMULATION, &(cfg->simulation)},
35 {parse_empty, SP_TOKEN_SIM, &(cfg->simulation)}, 35 {parse_empty, SP_TOKEN_SIM, &(cfg->simulation)},
36 {parse_ulong, SP_TOKEN_SID_MIN_LENGTH, &(cfg->sid_min_length)}, 36 {parse_uint, SP_TOKEN_SID_MIN_LENGTH, &(cfg->sid_min_length)},
37 {parse_ulong, SP_TOKEN_SID_MAX_LENGTH, &(cfg->sid_max_length)}, 37 {parse_uint, SP_TOKEN_SID_MAX_LENGTH, &(cfg->sid_max_length)},
38 {0, 0, 0}}; 38 {0, 0, 0}};
39 39
40 SP_PROCESS_CONFIG_KEYWORDS_ERR(); 40 SP_PROCESS_CONFIG_KEYWORDS_ERR();
@@ -144,8 +144,8 @@ SP_PARSE_FN(parse_global) {
144 {parse_str, SP_TOKEN_ENCRYPTION_KEY, &(SPCFG(encryption_key))}, 144 {parse_str, SP_TOKEN_ENCRYPTION_KEY, &(SPCFG(encryption_key))},
145 {parse_str, SP_TOKEN_ENV_VAR, &(SPCFG(cookies_env_var))}, 145 {parse_str, SP_TOKEN_ENV_VAR, &(SPCFG(cookies_env_var))},
146 {parse_log_media, SP_TOKEN_LOG_MEDIA, &(SPCFG(log_media))}, 146 {parse_log_media, SP_TOKEN_LOG_MEDIA, &(SPCFG(log_media))},
147 {parse_ulong, SP_TOKEN_LOG_MAX_LEN, &(SPCFG(log_max_len))}, 147 {parse_uint, SP_TOKEN_LOG_MAX_LEN, &(SPCFG(log_max_len))},
148 {parse_ulong, SP_TOKEN_MAX_EXECUTION_DEPTH, &(SPCFG(max_execution_depth))}, 148 {parse_uint, SP_TOKEN_MAX_EXECUTION_DEPTH, &(SPCFG(max_execution_depth))},
149 {parse_enable, SP_TOKEN_SERVER_ENCODE, &(SPCFG(server_encode))}, 149 {parse_enable, SP_TOKEN_SERVER_ENCODE, &(SPCFG(server_encode))},
150 {parse_enable, SP_TOKEN_SERVER_STRIP, &(SPCFG(server_strip))}, 150 {parse_enable, SP_TOKEN_SERVER_STRIP, &(SPCFG(server_strip))},
151 {parse_enable, SP_TOKEN_SHOW_OLD_PHP_WARNING, &(SPCFG(show_old_php_warning))}, 151 {parse_enable, SP_TOKEN_SHOW_OLD_PHP_WARNING, &(SPCFG(show_old_php_warning))},
@@ -333,7 +333,7 @@ SP_PARSE_FN(parse_disabled_functions) {
333 {parse_php_type, SP_TOKEN_RET_TYPE, &(df->ret_type)}, 333 {parse_php_type, SP_TOKEN_RET_TYPE, &(df->ret_type)},
334 {parse_str, SP_TOKEN_LOCAL_VAR, &(var)}, 334 {parse_str, SP_TOKEN_LOCAL_VAR, &(var)},
335 {parse_int, SP_TOKEN_VALUE_ARG_POS, &(df->pos)}, 335 {parse_int, SP_TOKEN_VALUE_ARG_POS, &(df->pos)},
336 {parse_ulong, SP_TOKEN_LINE_NUMBER, &(df->line)}, 336 {parse_uint, SP_TOKEN_LINE_NUMBER, &(df->line)},
337 {0, 0, 0}}; 337 {0, 0, 0}};
338 338
339 SP_PROCESS_CONFIG_KEYWORDS(goto out); 339 SP_PROCESS_CONFIG_KEYWORDS(goto out);