From: Vsevolod Stakhov Date: Fri, 13 Jan 2017 09:25:41 +0000 (+0000) Subject: [Minor] Add auto type to the parser method X-Git-Tag: 1.5.0~357 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=85e2e9a16ec105307dcf238fd90e76724477d2b1;p=thirdparty%2Frspamd.git [Minor] Add auto type to the parser method --- diff --git a/contrib/libucl/lua_ucl.c b/contrib/libucl/lua_ucl.c index fa69c72d0d..965dcc9c13 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;