mirror of
https://github.com/cesanta/mongoose.git
synced 2026-10-17 10:49:47 +00:00
More SNtp debug 7
This commit is contained in:
1 parent
9029593691
commit
53bca4efab
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -4427,10 +4427,10 @@ static void mg_iotest(struct mg_mgr *mgr, int ms) {
|
||||
} else {
|
||||
c->is_readable = (unsigned) (fds[n].revents & POLLIN ? 1 : 0);
|
||||
c->is_writable = (unsigned) (fds[n].revents & POLLOUT ? 1 : 0);
|
||||
fds[n].revents = 0;
|
||||
if (mg_tls_pending(c) > 0) c->is_readable = 1;
|
||||
MG_DEBUG((" fd=%d events=%d revents=%d", fds[n].fd, fds[n].events,
|
||||
fds[n].revents));
|
||||
fds[n].revents = 0;
|
||||
n++;
|
||||
}
|
||||
}
|
||||
|
||||
+1
-1
@@ -508,10 +508,10 @@ static void mg_iotest(struct mg_mgr *mgr, int ms) {
|
||||
} else {
|
||||
c->is_readable = (unsigned) (fds[n].revents & POLLIN ? 1 : 0);
|
||||
c->is_writable = (unsigned) (fds[n].revents & POLLOUT ? 1 : 0);
|
||||
fds[n].revents = 0;
|
||||
if (mg_tls_pending(c) > 0) c->is_readable = 1;
|
||||
MG_DEBUG((" fd=%d events=%d revents=%d", fds[n].fd, fds[n].events,
|
||||
fds[n].revents));
|
||||
fds[n].revents = 0;
|
||||
n++;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user