mirror of
https://github.com/rspamd/rspamd.git
synced 2024-08-11 14:10:19 +02:00
[Minor] Add auto type to the parser method
This commit is contained in:
parent
d9f7a74a1c
commit
85e2e9a16e
@ -539,6 +539,9 @@ lua_ucl_str_to_parse_type (const char *str)
|
||||
strcasecmp (str, "csexp") == 0) {
|
||||
type = UCL_PARSE_CSEXP;
|
||||
}
|
||||
else if (strcasecmp (str, "auto") == 0) {
|
||||
type = UCL_PARSE_AUTO;
|
||||
}
|
||||
}
|
||||
|
||||
return type;
|
||||
|
Loading…
Reference in New Issue
Block a user