diff options
author | Miles Bader <miles@gnu.org> | 1996-07-01 21:44:01 +0000 |
---|---|---|
committer | Miles Bader <miles@gnu.org> | 1996-07-01 21:44:01 +0000 |
commit | b4f5cdf8a2da9adc91750f4f858a809076bf72c9 (patch) | |
tree | 01c50e59d58e067edc029599da792e0ba2b6992c | |
parent | 5ead64a6c93afbc073ba1ab019a76312ee57aa1d (diff) |
(pq_queue): Initialize packet->buf_vm_alloced.
-rw-r--r-- | libpipe/pq.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libpipe/pq.c b/libpipe/pq.c index ad31c8cd..c48f90bd 100644 --- a/libpipe/pq.c +++ b/libpipe/pq.c @@ -1,6 +1,6 @@ /* Packet queues - Copyright (C) 1995 Free Software Foundation, Inc. + Copyright (C) 1995, 1996 Free Software Foundation, Inc. Written by Miles Bader <miles@gnu.ai.mit.edu> @@ -127,6 +127,7 @@ pq_queue (struct pq *pq, unsigned type, void *source) packet->ports = 0; packet->num_ports = packet->ports_alloced = 0; packet->buf_start = packet->buf_end = packet->buf; + packet->buf_vm_alloced = 0; } else pq->free = packet->next; |