chunk queue: Fix chunk dequeuing.
authorAndre Noll <maan@systemlinux.org>
Mon, 12 Apr 2010 16:04:31 +0000 (18:04 +0200)
committerAndre Noll <maan@systemlinux.org>
Mon, 12 Apr 2010 16:04:31 +0000 (18:04 +0200)
commit30ef430cdbf14c326fe72918fc48153fa005a41c
treeda07f20a37baf1b4a630ce0ff7258220bf272bf2
parent91edaa02c232edf82b93a928058c044df80badc1
chunk queue: Fix chunk dequeuing.

We missed to update the number of pending bytes when removing
a chunk from the queue.

This patch also clarifies the description of the cq parameter of
cq_dequeue().

Thanks to Gerrit Renker who pointed out this bug.
chunk_queue.c