mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-12-26 03:16:18 +00:00
The recv callback has u8_t return type. Fixed theraw_pcb struct to reflect this.
This commit is contained in:
parent
e84cc8c0ad
commit
0c960a82ce
@ -46,7 +46,7 @@ struct raw_pcb {
|
||||
|
||||
u16_t protocol;
|
||||
|
||||
int (* recv)(void *arg, struct raw_pcb *pcb, struct pbuf *p,
|
||||
u8_t (* recv)(void *arg, struct raw_pcb *pcb, struct pbuf *p,
|
||||
struct ip_addr *addr);
|
||||
void *recv_arg;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user