From: Mikhail Galanin Date: Tue, 31 Jul 2018 15:11:04 +0000 (+0100) Subject: [Fix] codestyle X-Git-Tag: 1.7.9~5^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=refs%2Fpull%2F2385%2Fhead;p=rspamd.git [Fix] codestyle --- diff --git a/src/lua/lua_task.c b/src/lua/lua_task.c index e4fcea3a4..0b999d89e 100644 --- a/src/lua/lua_task.c +++ b/src/lua/lua_task.c @@ -1307,7 +1307,7 @@ lua_task_load_from_string (lua_State * L) { struct rspamd_task *task = NULL, **ptask; const gchar *str_message = luaL_checkstring (L, 1), *err = NULL; - gsize message_len = lua_strlen(L, 1); + gsize message_len = lua_strlen (L, 1); struct rspamd_config *cfg = NULL; gboolean res = FALSE; diff --git a/src/lua/lua_util.c b/src/lua/lua_util.c index f0feb7f2e..af1c13ad2 100644 --- a/src/lua/lua_util.c +++ b/src/lua/lua_util.c @@ -666,7 +666,7 @@ lua_util_load_rspamd_config (lua_State *L) } static gint -parse_config_options(const char *str_options) +parse_config_options (const char *str_options) { gint ret = 0; gchar **vec;