From: Vsevolod Stakhov Date: Wed, 14 Oct 2009 11:21:28 +0000 (+0400) Subject: * Fix loop X-Git-Tag: 0.3.0~157 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=d16336b4929ac76a1661b9c7dafd28568e6e0859;p=rspamd.git * Fix loop --- 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; }