move prevprogress onto payload handle
commitad8d3ceb898716cf2642fb71963c0ef5a490621e
authorDave Reisner <dreisner@archlinux.org>
Thu, 29 Sep 2011 16:17:16 +0000 (29 12:17 -0400)
committerDan McGee <dan@archlinux.org>
Thu, 29 Sep 2011 17:58:37 +0000 (29 12:58 -0500)
tree8f92f670b49058e833571a4c2f66d15eedcdb250
parent775b94e64903057a75071491670013975fc3ecb2
move prevprogress onto payload handle

This is a poor place for it, and it will likely move again in the
future, but it's better to have it here than as a static variable.

Initialization of this variable is now no longer necessary as its
zeroed on creation of the payload struct.

Signed-off-by: Dave Reisner <dreisner@archlinux.org>
Signed-off-by: Dan McGee <dan@archlinux.org>
lib/libalpm/dload.c
lib/libalpm/dload.h