projects
/
paraslash.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
206217e
)
dccp_send: fix sending of header packets
author
Andre
<maan@baader.(none)>
Sat, 25 Mar 2006 01:00:46 +0000
(
02:00
+0100)
committer
Andre
<maan@baader.(none)>
Sat, 25 Mar 2006 01:00:46 +0000
(
02:00
+0100)
The current code sends the header before _each_ packet, rather than only
once. Fix is trivial.
dccp_send.c
patch
|
blob
|
history
diff --git
a/dccp_send.c
b/dccp_send.c
index 02e64a7aebe6819aa6733544dc6d32ec8020b9a5..d56286a6874cb5d56dcb4c427fa4dc05bc001d52 100644
(file)
--- 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);