mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-10-04 05:39:53 +00:00
netconn::recv_avail: forgot one line
This commit is contained in:
parent
a2d6a50dff
commit
4d774e275d
@ -2576,7 +2576,7 @@ lwip_ioctl(int s, long cmd, void *argp)
|
|||||||
buflen = p->tot_len;
|
buflen = p->tot_len;
|
||||||
buflen -= sock->lastoffset;
|
buflen -= sock->lastoffset;
|
||||||
|
|
||||||
*((u16_t*)argp) += buflen;
|
*((int*)argp) += buflen;
|
||||||
}
|
}
|
||||||
|
|
||||||
LWIP_DEBUGF(SOCKETS_DEBUG, ("lwip_ioctl(%d, FIONREAD, %p) = %"U16_F"\n", s, argp, *((u16_t*)argp)));
|
LWIP_DEBUGF(SOCKETS_DEBUG, ("lwip_ioctl(%d, FIONREAD, %p) = %"U16_F"\n", s, argp, *((u16_t*)argp)));
|
||||||
|
Loading…
Reference in New Issue
Block a user