mirror of
https://git.savannah.nongnu.org/git/lwip.git
synced 2026-05-23 08:37:02 +08:00
Fix documentation of TCP_WRITE_FLAG_MORE.
The description of the flag was erroneous in src/core/tcp_out.c, and self-contradictory in doc/rawapi.txt.
This commit is contained in:
@@ -364,7 +364,7 @@ tcp_write_checks(struct tcp_pcb *pcb, u16_t len)
|
||||
* @param len Data length in bytes
|
||||
* @param apiflags combination of following flags :
|
||||
* - TCP_WRITE_FLAG_COPY (0x01) data will be copied into memory belonging to the stack
|
||||
* - TCP_WRITE_FLAG_MORE (0x02) for TCP connection, PSH flag will be set on last segment sent,
|
||||
* - TCP_WRITE_FLAG_MORE (0x02) for TCP connection, PSH flag will not be set on last segment sent,
|
||||
* @return ERR_OK if enqueued, another err_t on error
|
||||
*/
|
||||
err_t
|
||||
|
||||
Reference in New Issue
Block a user