mirror of
https://github.com/cesanta/mongoose.git
synced 2026-11-20 19:41:58 +00:00
Handle #1562 - add udp/tcp extra param to mg_mkpipe()
This commit is contained in:
1 parent
dc486a2aa3
commit
a3d63c095a
11 files changed
+68
-47
No files matched your search
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user