Merge pull request #12382 from nmeum/pr/asymcute_continue

emcute: never return from receive loop
This commit is contained in:
Martine Lenders 2019-10-07 16:28:09 +02:00 committed by GitHub
commit 999a7714b0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -517,7 +517,7 @@ void emcute_run(uint16_t port, const char *id)
if ((len < 0) && (len != -ETIMEDOUT)) { if ((len < 0) && (len != -ETIMEDOUT)) {
LOG_ERROR("[emcute] error while receiving UDP packet\n"); LOG_ERROR("[emcute] error while receiving UDP packet\n");
return; continue;
} }
if (len >= 2) { if (len >= 2) {