aboutsummaryrefslogtreecommitdiff
path: root/mbox.lua
diff options
context:
space:
mode:
Diffstat (limited to 'mbox.lua')
-rw-r--r--mbox.lua2
1 files changed, 0 insertions, 2 deletions
diff --git a/mbox.lua b/mbox.lua
index c73236c..a77ef22 100644
--- a/mbox.lua
+++ b/mbox.lua
@@ -22,11 +22,9 @@ local function worker(format, mbox)
-- * attachments could be much bigger than this
f:seek("end", -15360)
- -- Get data
local text = f:read("*all")
f:close()
- -- Find subject lines
for match in string.gfind(text, "Subject: ([^\n]*)") do
subject = match
end