summaryrefslogtreecommitdiffhomepage
path: root/libs/uvl/luasrc/uvl.lua
diff options
context:
space:
mode:
authorSteven Barth <steven@midlink.org>2008-09-08 17:55:24 +0000
committerSteven Barth <steven@midlink.org>2008-09-08 17:55:24 +0000
commit5d3bddd89958dc257fc3d48d88d6be278a75c8d8 (patch)
tree261dc569872905536b66cde528255398b6877299 /libs/uvl/luasrc/uvl.lua
parent8d372d2f284e1d74d210a30a03681bc86395574d (diff)
Fixed last commit
Diffstat (limited to 'libs/uvl/luasrc/uvl.lua')
-rw-r--r--libs/uvl/luasrc/uvl.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/libs/uvl/luasrc/uvl.lua b/libs/uvl/luasrc/uvl.lua
index 8610a26d1..98d0d59f5 100644
--- a/libs/uvl/luasrc/uvl.lua
+++ b/libs/uvl/luasrc/uvl.lua
@@ -916,7 +916,8 @@ uvlitem._ucicache = {}
function uvlitem._loadconf(self, co, c)
co = co or self._ucicache[c]
if not co then
- local co, err = cursor:get_all(c)
+ local err
+ co, err = cursor:get_all(c)
if err then
self:error(ERR.UCILOAD(self, err))