mirror of
https://github.com/cesanta/mongoose.git
synced 2026-10-26 12:14:56 +00:00
add unit test for mg_wakeup
This commit is contained in:
1 parent
9c40c0adf1
commit
d60dcf846e
3 files changed
+54
-6
No files matched your search
+1
-1
@@ -731,7 +731,7 @@ bool mg_wakeup_init(struct mg_mgr *mgr) {
|
||||
sp[0] = sp[1] = MG_INVALID_SOCKET;
|
||||
} else {
|
||||
tomgaddr(&usa[0], &c->rem, false);
|
||||
MG_DEBUG(("%lu %p pipe %lu", c->id, c->fd, (unsigned long) sp[0]));
|
||||
MG_DEBUG(("%lu %ld pipe %ld", c->id, c->fd, (long) sp[0]));
|
||||
mgr->pipe.fd = sp[0];
|
||||
ok = true;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user