Fixed last commit
authorSteven Barth <steven@midlink.org>
Mon, 8 Sep 2008 17:55:24 +0000 (17:55 +0000)
committerSteven Barth <steven@midlink.org>
Mon, 8 Sep 2008 17:55:24 +0000 (17:55 +0000)
libs/uvl/luasrc/uvl.lua

index 8610a26d1c67a5b1172fef522af5a49e8867f89d..98d0d59f53b61650e597d004909ff342e55c9762 100644 (file)
@@ -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))