mirror of
https://github.com/cesanta/mongoose.git
synced 2026-10-22 11:36:21 +00:00
More SNtp debug 11
This commit is contained in:
1 parent
f5af28c886
commit
28c15b3ff4
3 files changed
+6
-16
No files matched your search
+3
-1
@@ -496,7 +496,9 @@ static void mg_iotest(struct mg_mgr *mgr, int ms) {
|
||||
}
|
||||
}
|
||||
|
||||
if (poll(fds, n, ms) < 0) {
|
||||
int res = poll(fds, n, ms);
|
||||
MG_DEBUG(("n=%d, ms=%d, errno=%d", n, ms, errno));
|
||||
if (res < 0) {
|
||||
MG_ERROR(("poll failed, errno: %d", MG_SOCK_ERRNO));
|
||||
} else {
|
||||
n = 0;
|
||||
|
||||
Reference in new issue
Block a user