Commit 797e1cbe authored by Alessio Netti's avatar Alessio Netti
Browse files

Minor fix to "hosts" REST API query

parent dec5bcc5
...@@ -378,9 +378,9 @@ void SimpleMQTTServerMessageThread::run() ...@@ -378,9 +378,9 @@ void SimpleMQTTServerMessageThread::run()
*/ */
if (rbytes == 0) { if (rbytes == 0) {
releaseConnection(connectionId); releaseConnection(connectionId);
} else {
lastSeen[connectionId].lastSeen = getTimestamp();
} }
lastSeen[connectionId].lastSeen = getTimestamp();
while (lbytes > 0) { while (lbytes > 0) {
/* /*
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment