diff options
Diffstat (limited to 'src/lua/lua_task.c')
-rw-r--r-- | src/lua/lua_task.c | 4 |
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); |