sockets.c: try to fix debug print

This commit is contained in:
goldsimon 2017-04-20 22:55:56 +02:00
parent 2358a5ac32
commit e1f2c8b30c

View File

@ -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",
p->tot_len, recv_left, recvd));
p->tot_len, recv_left, (int)recvd));
if (recv_left > p->tot_len) {
copylen = p->tot_len;