diff options
| author | Christian Göttsche | 2026-02-22 22:09:08 +0100 |
|---|---|---|
| committer | Julien Voisin | 2026-02-22 22:30:14 +0100 |
| commit | b26041bfa0a1e58930a5bf26b720f97f8cf6ae13 (patch) | |
| tree | 9f140edbed7acede96a2b1aed1b1d7ec88757c5f /src/sp_config_keywords.c | |
| parent | 50fb9d8a8f040729c3472998aea0bdd14b1b7805 (diff) | |
Use correct parser for session ID lengths
Can causes issues on uncommon architectures, like s390x.
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 7f41e38..1a23658 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_uint, SP_TOKEN_SID_MIN_LENGTH, &(cfg->sid_min_length)}, | 36 | {parse_ulong, SP_TOKEN_SID_MIN_LENGTH, &(cfg->sid_min_length)}, |
| 37 | {parse_uint, SP_TOKEN_SID_MAX_LENGTH, &(cfg->sid_max_length)}, | 37 | {parse_ulong, 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(); |
