Commit 228984a3 authored by Dmitry Frank's avatar Dmitry Frank Committed by Cesanta Bot

Fix a corner case in receiving UDP data

CL: none

PUBLISHED_FROM=9c13882517374644c6d799976f1048f04ae446d7
parent f084ad80
...@@ -2834,7 +2834,6 @@ void mg_if_recv_udp_cb(struct mg_connection *nc, void *buf, int len, ...@@ -2834,7 +2834,6 @@ void mg_if_recv_udp_cb(struct mg_connection *nc, void *buf, int len,
} else { } else {
/* Drop on the floor. */ /* Drop on the floor. */
MG_FREE(buf); MG_FREE(buf);
nc->iface->vtable->recved(nc, len);
} }
} }
......
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