diff options
author | Miles Bader <miles@gnu.org> | 1995-07-31 20:01:27 +0000 |
---|---|---|
committer | Miles Bader <miles@gnu.org> | 1995-07-31 20:01:27 +0000 |
commit | dc095770749d83d948f8bd294226c79a91f30256 (patch) | |
tree | d2893e8679bd5f74a105e6ee4ecbe97855501510 /libpipe/stream.c | |
parent | 913ab2407329d98b523198655c5cf9b0fa097fff (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