Permalink
Browse files

Correct variable error in one of the examples.

  • Loading branch information...
lefcha committed May 23, 2012
1 parent 0d77e9d commit 362a123cd4c53c62d4aad2bc223594e475f8e12c
Showing with 1 addition and 1 deletion.
  1. +1 −1 samples/extend.lua
View
@@ -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') ..

0 comments on commit 362a123

Please sign in to comment.