Remove verbose log in mg_iotest()

This commit is contained in:
Sergey Lyubka
2022-05-27 23:18:23 +01:00
parent 14ad51d2d2
commit 686320a805
2 changed files with 2 additions and 6 deletions
+1 -3
View File
@@ -4414,9 +4414,7 @@ static void mg_iotest(struct mg_mgr *mgr, int ms) {
}
}
int res = poll(fds, n, ms);
MG_DEBUG(("n=%d, ms=%d, errno=%d", n, ms, errno));
if (res < 0) {
if (poll(fds, n, ms) < 0) {
MG_ERROR(("poll failed, errno: %d", MG_SOCK_ERRNO));
} else {
n = 0;
+1 -3
View File
@@ -496,9 +496,7 @@ static void mg_iotest(struct mg_mgr *mgr, int ms) {
}
}
int res = poll(fds, n, ms);
MG_DEBUG(("n=%d, ms=%d, errno=%d", n, ms, errno));
if (res < 0) {
if (poll(fds, n, ms) < 0) {
MG_ERROR(("poll failed, errno: %d", MG_SOCK_ERRNO));
} else {
n = 0;