From: Andre Date: Sat, 25 Mar 2006 01:00:46 +0000 (+0100) Subject: dccp_send: fix sending of header packets X-Git-Tag: v0.2.12~142 X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=commitdiff_plain;h=9d833499fc930814b8bb3eef02118fe6d50b3624 dccp_send: fix sending of header packets The current code sends the header before _each_ packet, rather than only once. Fix is trivial. --- 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);