mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2025-03-28 19:21:20 +00:00
sockets.c: try to fix debug print (again)
This commit is contained in:
parent
de90d03e48
commit
a50ba9c748
@ -913,7 +913,7 @@ lwip_recv_tcp(struct lwip_sock *sock, void *mem, size_t len, int flags)
|
|||||||
}
|
}
|
||||||
|
|
||||||
LWIP_DEBUGF(SOCKETS_DEBUG, ("lwip_recv_tcp: buflen=%"U16_F" recv_left=%d off=%d\n",
|
LWIP_DEBUGF(SOCKETS_DEBUG, ("lwip_recv_tcp: buflen=%"U16_F" recv_left=%d off=%d\n",
|
||||||
p->tot_len, recv_left, (int)recvd));
|
p->tot_len, (int)recv_left, (int)recvd));
|
||||||
|
|
||||||
if (recv_left > p->tot_len) {
|
if (recv_left > p->tot_len) {
|
||||||
copylen = p->tot_len;
|
copylen = p->tot_len;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user