aboutsummaryrefslogtreecommitdiff
path: root/mboxc.lua
diff options
context:
space:
mode:
authorAdrian C. (anrxc) <anrxc@sysphere.org>2009-11-03 01:38:43 +0100
committerAdrian C. (anrxc) <anrxc@sysphere.org>2009-11-03 01:38:43 +0100
commit94cf0b7d7fe10b695876fbf84562c06a340f609a (patch)
treed82fe754ffb5fba69bcbc10017b2f26b01108284 /mboxc.lua
parent44d943d024ba59dee20e62aab2149a97f8827947 (diff)
downloadvicious-legacy-94cf0b7d7fe10b695876fbf84562c06a340f609a.tar.xz
Minor changes in mboxc and org
Diffstat (limited to 'mboxc.lua')
-rw-r--r--mboxc.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/mboxc.lua b/mboxc.lua
index 1861b15..e9aa84f 100644
--- a/mboxc.lua
+++ b/mboxc.lua
@@ -15,13 +15,13 @@ module("vicious.mboxc")
-- {{{ Mbox count widget type
-local function worker(format, mbox)
+local function worker(format, warg)
-- Initialise counters
local count = { old = 0, total = 0, new = 0 }
-- Get data from mbox files
- for i=1, #mbox do
- local f = io.open(mbox[i])
+ for i=1, #warg do
+ local f = io.open(warg[i])
while true do
-- Read the mbox line by line, if we are going to read some