From ad8d3ceb898716cf2642fb71963c0ef5a490621e Mon Sep 17 00:00:00 2001 From: Dave Reisner Date: Thu, 29 Sep 2011 12:17:16 -0400 Subject: 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 Signed-off-by: Dan McGee --- lib/libalpm/dload.h | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/libalpm/dload.h') diff --git a/lib/libalpm/dload.h b/lib/libalpm/dload.h index 9be29bc8..5442c0e2 100644 --- a/lib/libalpm/dload.h +++ b/lib/libalpm/dload.h @@ -35,6 +35,7 @@ struct dload_payload { char *fileurl; off_t initial_size; off_t max_size; + off_t prevprogress; int force; int allow_resume; int errors_ok; -- cgit v1.2.3-24-g4f1b