diff options
author | rsc <devnull@localhost> | 2005-07-13 03:58:11 +0000 |
---|---|---|
committer | rsc <devnull@localhost> | 2005-07-13 03:58:11 +0000 |
commit | 9c8fc12873460c9b8d390fe1c5aed9f03feb6029 (patch) | |
tree | 48ff504a2d3fc0ba8110e9329adfad7215185a0f /src/libventi | |
parent | e87f5d7cecb8226b950a492fa02d40f7070af972 (diff) | |
download | plan9port-9c8fc12873460c9b8d390fe1c5aed9f03feb6029.tar.gz plan9port-9c8fc12873460c9b8d390fe1c5aed9f03feb6029.tar.bz2 plan9port-9c8fc12873460c9b8d390fe1c5aed9f03feb6029.zip |
zero unused io
Diffstat (limited to 'src/libventi')
-rw-r--r-- | src/libventi/packet.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/libventi/packet.c b/src/libventi/packet.c index 3ef1b1df..d3198939 100644 --- a/src/libventi/packet.c +++ b/src/libventi/packet.c @@ -612,7 +612,10 @@ packetfragments(Packet *p, IOchunk *io, int nio, int offset) size += io->len; io++; } - + for(; io < eio; io++){ + io->addr = nil; + io->len = 0; + } return size; } |