Module: kamailio
Branch: master
Commit: 099e784a250581d0c124d6110d3953bfc0716930
URL:
https://github.com/kamailio/kamailio/commit/099e784a250581d0c124d6110d3953b…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2018-01-17T22:48:11+01:00
core: udp server - continue when failing to print debug with received chars
- reported by GH #1403
---
Modified: src/core/udp_server.c
---
Diff:
https://github.com/kamailio/kamailio/commit/099e784a250581d0c124d6110d3953b…
Patch:
https://github.com/kamailio/kamailio/commit/099e784a250581d0c124d6110d3953b…
---
diff --git a/src/core/udp_server.c b/src/core/udp_server.c
index 3d54c5a9a6..def3ac1861 100644
--- a/src/core/udp_server.c
+++ b/src/core/udp_server.c
@@ -483,7 +483,7 @@ int udp_rcv_loop()
if(l<0 || l>=6) {
LM_ERR("print buffer building failed (%d/%d/%d)\n",
l, j, i);
- goto error;
+ continue; /* skip it */
}
j += l;
}