mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-11-19 05:10:40 +00:00
fixed compiling netconn_write_partly with LWIP_SO_SNDTIMEO==1 after recent api implementation changes (bug #47436, patch by William Hayes)
This commit is contained in:
parent
7fbb5fc82a
commit
b24e5cd1c8
@ -708,9 +708,9 @@ netconn_write_partly(struct netconn *conn, const void *dataptr, size_t size,
|
||||
if (conn->send_timeout != 0) {
|
||||
/* get the time we started, which is later compared to
|
||||
sys_now() + conn->send_timeout */
|
||||
API_MSG_VAR_REF(msg).msg.msg.w.time_started = sys_now();
|
||||
API_MSG_VAR_REF(msg).msg.w.time_started = sys_now();
|
||||
} else {
|
||||
API_MSG_VAR_REF(msg).msg.msg.w.time_started = 0;
|
||||
API_MSG_VAR_REF(msg).msg.w.time_started = 0;
|
||||
}
|
||||
#endif /* LWIP_SO_SNDTIMEO */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user