From 9d833499fc930814b8bb3eef02118fe6d50b3624 Mon Sep 17 00:00:00 2001 From: Andre Date: Sat, 25 Mar 2006 02:00:46 +0100 Subject: [PATCH] dccp_send: fix sending of header packets The current code sends the header before _each_ packet, rather than only once. Fix is trivial. --- dccp_send.c | 1 + 1 file changed, 1 insertion(+) diff --git a/dccp_send.c b/dccp_send.c index 02e64a7a..d56286a6 100644 --- a/dccp_send.c +++ b/dccp_send.c @@ -162,6 +162,7 @@ static void dccp_send(__unused struct audio_format *af, dccp_shutdown_client(dc); continue; } + dc->header_sent = 1; ret = write_ok(dc->fd); if (ret < 0) { dccp_shutdown_client(dc); -- 2.39.5