summaryrefslogtreecommitdiff
path: root/libpipe
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>1996-07-01 21:44:01 +0000
committerMiles Bader <miles@gnu.org>1996-07-01 21:44:01 +0000
commitb4f5cdf8a2da9adc91750f4f858a809076bf72c9 (patch)
tree01c50e59d58e067edc029599da792e0ba2b6992c /libpipe
parent5ead64a6c93afbc073ba1ab019a76312ee57aa1d (diff)
(pq_queue): Initialize packet->buf_vm_alloced.
Diffstat (limited to 'libpipe')
-rw-r--r--libpipe/pq.c3
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;