mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-08-24 23:25:58 +00:00
tcp_send_ctrl(): call tcp_enqueue with the new flag TCP_WRITE_FLAG_COPY instead of 1
This commit is contained in:
parent
21bbc9a81a
commit
8020ba2dc5
@ -69,7 +69,7 @@ err_t
|
|||||||
tcp_send_ctrl(struct tcp_pcb *pcb, u8_t flags)
|
tcp_send_ctrl(struct tcp_pcb *pcb, u8_t flags)
|
||||||
{
|
{
|
||||||
/* no data, no length, flags, copy=1, no optdata, no optdatalen */
|
/* no data, no length, flags, copy=1, no optdata, no optdatalen */
|
||||||
return tcp_enqueue(pcb, NULL, 0, flags, 1, NULL, 0);
|
return tcp_enqueue(pcb, NULL, 0, flags, TCP_WRITE_FLAG_COPY, NULL, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user