summaryrefslogtreecommitdiff
path: root/libpipe/stream.c
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>1995-07-31 20:01:27 +0000
committerMiles Bader <miles@gnu.org>1995-07-31 20:01:27 +0000
commitdc095770749d83d948f8bd294226c79a91f30256 (patch)
treed2893e8679bd5f74a105e6ee4ecbe97855501510 /libpipe/stream.c
parent913ab2407329d98b523198655c5cf9b0fa097fff (diff)
(pipe_recv): Assert that a control packet should only have a source address
if there is no corresponding data packet. (pipe_send): Change the test to determine whether we should write a control packet, so that we only do so if we need to. Also, don't record the source address in control packets, as it's recorded in the following data packet anyway, and this prevents it from being dealloc'd twice.
Diffstat (limited to 'libpipe/stream.c')
0 files changed, 0 insertions, 0 deletions