dload: reset payload filename members before download
commit952ee5e6cb8bb1849c1bceedae38744935c82fca
authorDave Reisner <dreisner@archlinux.org>
Thu, 15 Mar 2012 03:04:43 +0000 (14 23:04 -0400)
committerDan McGee <dan@archlinux.org>
Thu, 15 Mar 2012 03:17:37 +0000 (14 22:17 -0500)
tree82d044b78f69c04d2a1471c0364329848ecf24e9
parent47d0df6c101455c989887551bd0f0149a0f00de7
dload: reset payload filename members before download

To avoid conflicts on reusing a payload after a failed download, ensure
that we reset the filename hints in the payload struct prior to the
download operation.

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