diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2017-01-13 09:25:41 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2017-01-13 09:25:41 +0000 |
commit | 85e2e9a16ec105307dcf238fd90e76724477d2b1 (patch) | |
tree | f15e4fbf341dd1deaf6523b277f20feee378360c /contrib/libucl | |
parent | d9f7a74a1c97af5b878066447178135a8349d6b5 (diff) | |
download | rspamd-85e2e9a16ec105307dcf238fd90e76724477d2b1.tar.gz rspamd-85e2e9a16ec105307dcf238fd90e76724477d2b1.zip |
[Minor] Add auto type to the parser method
Diffstat (limited to 'contrib/libucl')
-rw-r--r-- | contrib/libucl/lua_ucl.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/contrib/libucl/lua_ucl.c b/contrib/libucl/lua_ucl.c index fa69c72d0..965dcc9c1 100644 --- a/contrib/libucl/lua_ucl.c +++ b/contrib/libucl/lua_ucl.c @@ -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; |