mosquitto_pub: split main loop.
Main loop has two different logics inside: one for stdin input,
second for all other cases. Exit loop condition is also different
for both variants. This commit splits these two variants into
two separate loops.
Signed-off-by:
Marek Wodzinski <majek@w7i.pl>
parent
cfacd961
Please register or sign in to comment