Fix #1505: let mg_wakeup() return status

This commit is contained in:
Sergey Lyubka committed 2022-04-03 00:17:31 +01:00
1 parent a65c3288d8
commit 4474ada291
5 files changed
+10 -12

No files matched your search

+1 -1
View File
@@ -77,7 +77,7 @@ bool mg_aton(struct mg_str str, struct mg_addr *addr);
char *mg_ntoa(const struct mg_addr *addr, char *buf, size_t len);
struct mg_connection *mg_mkpipe(struct mg_mgr *, mg_event_handler_t, void *);
void mg_mgr_wakeup(struct mg_connection *pipe, const void *buf, size_t len);
bool mg_mgr_wakeup(struct mg_connection *pipe, const void *buf, size_t len);
// These functions are used to integrate with custom network stacks
struct mg_connection *mg_alloc_conn(struct mg_mgr *);