Skip to content

Commit 417533e

Browse files
authored
Merge pull request cesanta#1509 from jameshilliard/wakeup-conflict
Fix mg_mgr_wakeup conflicting types error
2 parents 4474ada + e268aff commit 417533e

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

test/mongoose_custom.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,9 @@ bool mg_send(struct mg_connection *c, const void *buf, size_t len) {
2323
return 0;
2424
}
2525

26-
void mg_mgr_wakeup(struct mg_connection *c, const void *buf, size_t len) {
26+
bool mg_mgr_wakeup(struct mg_connection *c, const void *buf, size_t len) {
2727
(void) c, (void) buf, (void) len;
28+
return 0;
2829
}
2930

3031
struct mg_connection *mg_mkpipe(struct mg_mgr *mgr, mg_event_handler_t fn,

0 commit comments

Comments
 (0)