summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rambler-co.ru>2009-10-14 15:21:28 +0400
committerVsevolod Stakhov <vsevolod@rambler-co.ru>2009-10-14 15:21:28 +0400
commitd16336b4929ac76a1661b9c7dafd28568e6e0859 (patch)
tree68530e4f49dedd34dc83ded94608c2e2414eb1d1 /src
parent3650e6d89ed61ee9f2ee15f3012842305e19ad5a (diff)
downloadrspamd-d16336b4929ac76a1661b9c7dafd28568e6e0859.tar.gz
rspamd-d16336b4929ac76a1661b9c7dafd28568e6e0859.zip
* Fix loop
Diffstat (limited to 'src')
-rw-r--r--src/lua/lua_task.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lua/lua_task.c b/src/lua/lua_task.c
index 1b8221381..7912b7de0 100644
--- a/src/lua/lua_task.c
+++ b/src/lua/lua_task.c
@@ -394,6 +394,7 @@ lua_task_get_recipients (lua_State *L)
while (cur) {
lua_pushstring (L, (char *)cur->data);
lua_rawseti (L, -2, i++);
+ cur = g_list_next (cur);
}
return 1;
}