aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAndrew Lewis <nerf@judo.za.org>2017-03-09 14:57:20 +0200
committerAndrew Lewis <nerf@judo.za.org>2017-03-09 14:57:20 +0200
commit4b5a7d131fa645aee15b791112718ce1dd6faa48 (patch)
tree427b7310a56640a2ebb639ad6ce52a00a08cf508 /src
parentd1cbf812db1cd50623d2e58a8aa79bf7e660eaec (diff)
downloadrspamd-4b5a7d131fa645aee15b791112718ce1dd6faa48.tar.gz
rspamd-4b5a7d131fa645aee15b791112718ce1dd6faa48.zip
[Minor] get_symbols_all: return nil instead of error
Diffstat (limited to 'src')
-rw-r--r--src/lua/lua_task.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/lua/lua_task.c b/src/lua/lua_task.c
index cfb56a3a1..552493cfe 100644
--- a/src/lua/lua_task.c
+++ b/src/lua/lua_task.c
@@ -2933,8 +2933,6 @@ lua_task_get_symbols_all (lua_State *L)
lua_push_symbol_result (L, task, metric, k, v, FALSE, TRUE);
lua_rawseti (L, -2, i++);
}
- } else {
- return luaL_error (L, "no metric result");
}
}
else {