mirror of https://github.com/eclipse/paho.mqtt.c
Try again
This commit is contained in:
parent
384301cff2
commit
1ec8f7953e
|
|
@ -22,7 +22,7 @@ build_script:
|
|||
|
||||
netsh advfirewall set allprofiles state off
|
||||
|
||||
start /B python -m trace --count ..\test\mqttsas2.py mqtt.iotree.co.uk
|
||||
start /B python ..\test\mqttsas2.py
|
||||
|
||||
ctest -T test -VV
|
||||
|
||||
|
|
|
|||
|
|
@ -95,11 +95,11 @@ class ThreadingTCPServer(socketserver.ThreadingMixIn, socketserver.TCPServer):
|
|||
|
||||
def run():
|
||||
global brokerhost, brokerport
|
||||
myhost = 'localhost'
|
||||
myhost = '127.0.0.1'
|
||||
if len(sys.argv) > 1:
|
||||
brokerhost = sys.argv[1]
|
||||
else:
|
||||
brokerhost = 'localhost'
|
||||
brokerhost = '127.0.0.1'
|
||||
|
||||
if len(sys.argv) > 2:
|
||||
brokerport = int(sys.argv[2])
|
||||
|
|
|
|||
Loading…
Reference in New Issue