Correct variable error in one of the examples.

This commit is contained in:
Lefteris Chatzimparmpas 2012-05-23 20:43:01 +02:00
parent 0d77e9d9a8
commit 362a123cd4
1 changed files with 1 additions and 1 deletions

View File

@ -77,7 +77,7 @@ results:delete_messages()
all = myaccount.mymailbox:select_all()
for _, mesg in ipairs(all) do
mbox, uid = table.unpack(all)
mbox, uid = table.unpack(mesg)
header = mbox[uid]:fetch_header()
body = mbox[uid]:fetch_body()
message = header:gsub('[\r\n]+$', '\r\n') ..