Merge pull request #12382 from nmeum/pr/asymcute_continue
emcute: never return from receive loop
This commit is contained in:
commit
999a7714b0
@ -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) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user