]> hydra-www.ietfng.org Git - acmetensortoys-esp-lua_core/commitdiff
nwfmqtt: remove deprecated autoreconn option
authorNathaniel Wesley Filardo <nwfilardo@gmail.com>
Sat, 29 Jun 2019 14:36:24 +0000 (15:36 +0100)
committerNathaniel Wesley Filardo <nwfilardo@gmail.com>
Sat, 29 Jun 2019 14:36:24 +0000 (15:36 +0100)
NFC; it was false anyway.

net/nwfmqtt.lua

index 086652fcfbe8a4bddfbcb8c1342536fb701274dd..2cc6e2a3a0523529da6ecf328e3661a1d420f4a1 100644 (file)
@@ -34,7 +34,7 @@ function self.connect(m,cf) -- make a connection with parameters from json file
   broker = broker or "iot.eclipse.org"
   port = port or 1883
   secure = (secure == 1) or 0
-  return m:connect(broker,port,secure,0)
+  return m:connect(broker,port,secure)
 end
 function self.suball(m,fn) -- subscribe to all lines in a file
   if file.open(fn) then