Browse Source

core: udp server - continue when failing to print debug with received chars

- reported by GH #1403
Daniel-Constantin Mierla 7 years ago
parent
commit
099e784a25
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/core/udp_server.c

+ 1 - 1
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;
 				}