From 8020ba2dc503c2667c6486a3ffe673873e2730a4 Mon Sep 17 00:00:00 2001 From: goldsimon Date: Mon, 12 Nov 2007 19:38:25 +0000 Subject: [PATCH] tcp_send_ctrl(): call tcp_enqueue with the new flag TCP_WRITE_FLAG_COPY instead of 1 --- src/core/tcp_out.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core/tcp_out.c b/src/core/tcp_out.c index c920a07a..a1434cd8 100644 --- a/src/core/tcp_out.c +++ b/src/core/tcp_out.c @@ -69,7 +69,7 @@ err_t tcp_send_ctrl(struct tcp_pcb *pcb, u8_t flags) { /* 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); } /** @@ -551,7 +551,7 @@ tcp_output(struct tcp_pcb *pcb) } seg = pcb->unsent; } - return ERR_OK; + return ERR_OK; } /**