mirror of
https://github.com/lunarmodules/luasocket.git
synced 2024-12-26 20:38:22 +01:00
Don't break global mbox table in mbox.split_mbox
This commit is contained in:
parent
52bb99af35
commit
9192881346
@ -61,7 +61,7 @@ function _M.parse_from(from)
|
|||||||
end
|
end
|
||||||
|
|
||||||
function _M.split_mbox(mbox_s)
|
function _M.split_mbox(mbox_s)
|
||||||
mbox = {}
|
local mbox = {}
|
||||||
mbox_s = string.gsub(mbox_s, "\r\n", "\n") .."\n\nFrom \n"
|
mbox_s = string.gsub(mbox_s, "\r\n", "\n") .."\n\nFrom \n"
|
||||||
local nj, i, j = 1, 1, 1
|
local nj, i, j = 1, 1, 1
|
||||||
while 1 do
|
while 1 do
|
||||||
|
Loading…
Reference in New Issue
Block a user