Remove mg_mkpipe() leftovers

This commit is contained in:
Sergio R. Caprile committed 2023-10-10 18:16:02 -03:00
1 parent 36f6b805e3
commit b1c220e610
4 files changed
-14

No files matched your search

-6
View File
@@ -981,12 +981,6 @@ void mg_tcpip_free(struct mg_tcpip_if *ifp) {
free((char *) ifp->tx.ptr);
}
int mg_mkpipe(struct mg_mgr *m, mg_event_handler_t fn, void *d, bool udp) {
(void) m, (void) fn, (void) d, (void) udp;
MG_ERROR(("Not implemented"));
return -1;
}
static void send_syn(struct mg_connection *c) {
struct connstate *s = (struct connstate *) (c + 1);
uint32_t isn = mg_htonl((uint32_t) mg_ntohs(c->loc.port));