Remove noisy debug

This commit is contained in:
Sergey Lyubka 2021-11-26 16:23:06 +00:00
parent 24e8c4d81a
commit 81220fa590
2 changed files with 0 additions and 2 deletions

View File

@ -2955,7 +2955,6 @@ static long mg_sock_send(struct mg_connection *c, const void *buf, size_t len) {
{
n = send(FD(c), (char *) buf, len, MSG_NONBLOCKING);
}
LOG(LL_INFO, ("%ld %d %s", n, errno, strerror(errno)));
return n == 0 ? -1 : n < 0 && mg_sock_would_block() ? 0 : n;
}

View File

@ -113,7 +113,6 @@ static long mg_sock_send(struct mg_connection *c, const void *buf, size_t len) {
{
n = send(FD(c), (char *) buf, len, MSG_NONBLOCKING);
}
LOG(LL_INFO, ("%ld %d %s", n, errno, strerror(errno)));
return n == 0 ? -1 : n < 0 && mg_sock_would_block() ? 0 : n;
}