]> hydra-www.ietfng.org Git - acmetensortoys-esp-lua_core/commitdiff
Missed 'local' in nwfmqtt
authorNathaniel Wesley Filardo <nwf@cs.jhu.edu>
Mon, 21 Nov 2016 00:12:28 +0000 (19:12 -0500)
committerNathaniel Wesley Filardo <nwf@cs.jhu.edu>
Mon, 21 Nov 2016 10:37:35 +0000 (05:37 -0500)
net/nwfmqtt.lua

index 0882a4af927d5953385c89c62f43e31790e35887..f6511185ad68b8db2ba10c392986c351b3cc5da8 100644 (file)
@@ -2,7 +2,7 @@
 local nwfnet = require "nwfnet"
 local self = {}
 function self.mkclient(cf) -- construct a client with config from json file cf
-  local c, k, u, p
+  local c, k, u, p, l
   if file.open(cf) then
     local conf = cjson.decode(file.read())
     if type(conf) == "table" then