aboutsummaryrefslogtreecommitdiffstats
path: root/src/lua/lua_task.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rambler-co.ru>2011-03-09 15:49:32 +0300
committerVsevolod Stakhov <vsevolod@rambler-co.ru>2011-03-09 15:49:32 +0300
commit8cc93b54959dc754b70698a2b397b3406dd7928e (patch)
treee81f07f120011162cc5fd89c76e9aa4a332d2c5a /src/lua/lua_task.c
parentc9af649b3316857e77ec3509ca93c4a4ff37f477 (diff)
downloadrspamd-8cc93b54959dc754b70698a2b397b3406dd7928e.tar.gz
rspamd-8cc93b54959dc754b70698a2b397b3406dd7928e.zip
Fix gmime24 compatibility.
Fix adding extra space to raw headers. Reported by: Victor Ustugov
Diffstat (limited to 'src/lua/lua_task.c')
-rw-r--r--src/lua/lua_task.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lua/lua_task.c b/src/lua/lua_task.c
index 549bdc914..eb95f0258 100644
--- a/src/lua/lua_task.c
+++ b/src/lua/lua_task.c
@@ -731,9 +731,9 @@ lua_push_internet_address (lua_State *L, InternetAddressList *addrs)
InternetAddressMailbox *iamb;
lua_newtable (L);
- len = internet_address_list_length (list);
+ len = internet_address_list_length (addrs);
for (i = 0; i < len; i ++) {
- ia = internet_address_list_get_address (list, i);
+ ia = internet_address_list_get_address (addrs, i);
if (ia) {
lua_newtable (L);
iamb = INTERNET_ADDRESS_MAILBOX (ia);