gmail: don't break on non-escaped chars, quote login

This commit is contained in:
Adrian C. (anrxc) 2010-03-10 21:25:51 +01:00
parent abacd771bd
commit 1c0cefff8b
1 changed files with 1 additions and 1 deletions

View File

@ -51,7 +51,7 @@ local function worker(format, warg)
} }
-- Get info from the Gmail atom feed -- Get info from the Gmail atom feed
local f = io.popen("curl --connect-timeout 1 -m 3 -fsu "..auth.." "..cfg.feed[1]) local f = io.popen("curl --connect-timeout 1 -m 3 -fsu '"..auth.."' "..cfg.feed[1])
-- Could be huge don't read it all at once, info we are after is at the top -- Could be huge don't read it all at once, info we are after is at the top
for line in f:lines() do for line in f:lines() do