mirror of
https://github.com/cesanta/mongoose.git
synced 2024-12-29 16:25:54 +08:00
Remove noisy debug
This commit is contained in:
parent
24e8c4d81a
commit
81220fa590
@ -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);
|
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;
|
return n == 0 ? -1 : n < 0 && mg_sock_would_block() ? 0 : n;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -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);
|
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;
|
return n == 0 ? -1 : n < 0 && mg_sock_would_block() ? 0 : n;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user