Don't break global mbox table in mbox.split_mbox

This commit is contained in:
mpeterv 2016-02-11 15:57:56 +03:00
parent 52bb99af35
commit 9192881346

View File

@ -61,7 +61,7 @@ function _M.parse_from(from)
end
function _M.split_mbox(mbox_s)
mbox = {}
local mbox = {}
mbox_s = string.gsub(mbox_s, "\r\n", "\n") .."\n\nFrom \n"
local nj, i, j = 1, 1, 1
while 1 do