mirror of
https://github.com/cesanta/mongoose.git
synced 2026-11-10 16:31:44 +00:00
Remove verbose log in mg_iotest()
This commit is contained in:
1 parent
14ad51d2d2
commit
686320a805
2 files changed
+2
-6
No files matched your search
+1
-3
@@ -4414,9 +4414,7 @@ static void mg_iotest(struct mg_mgr *mgr, int ms) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
int res = poll(fds, n, ms);
|
if (poll(fds, n, ms) < 0) {
|
||||||
MG_DEBUG(("n=%d, ms=%d, errno=%d", n, ms, errno));
|
|
||||||
if (res < 0) {
|
|
||||||
MG_ERROR(("poll failed, errno: %d", MG_SOCK_ERRNO));
|
MG_ERROR(("poll failed, errno: %d", MG_SOCK_ERRNO));
|
||||||
} else {
|
} else {
|
||||||
n = 0;
|
n = 0;
|
||||||
|
|||||||
+1
-3
@@ -496,9 +496,7 @@ static void mg_iotest(struct mg_mgr *mgr, int ms) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
int res = poll(fds, n, ms);
|
if (poll(fds, n, ms) < 0) {
|
||||||
MG_DEBUG(("n=%d, ms=%d, errno=%d", n, ms, errno));
|
|
||||||
if (res < 0) {
|
|
||||||
MG_ERROR(("poll failed, errno: %d", MG_SOCK_ERRNO));
|
MG_ERROR(("poll failed, errno: %d", MG_SOCK_ERRNO));
|
||||||
} else {
|
} else {
|
||||||
n = 0;
|
n = 0;
|
||||||
|
|||||||
Reference in new issue
Block a user