Handle #1562 - add udp/tcp extra param to mg_mkpipe()

This commit is contained in:
Sergey Lyubka committed 2022-05-31 18:23:32 +01:00
1 parent dc486a2aa3
commit a3d63c095a
11 files changed
+68 -47

No files matched your search

+2 -2
View File
@@ -23,8 +23,8 @@ bool mg_send(struct mg_connection *c, const void *buf, size_t len) {
return false;
}
int mg_mkpipe(struct mg_mgr *mgr, mg_event_handler_t fn, void *fn_data) {
(void) mgr, (void) fn, (void) fn_data;
int mg_mkpipe(struct mg_mgr *m, mg_event_handler_t fn, void *d, bool udp) {
(void) m, (void) fn, (void) d, (void) udp;
return -1;
}