sync: move file download loop out of download_files
commit89edea326bd3d2f4d6feab441d2da961c715dbc0
authorDave Reisner <dreisner@archlinux.org>
Sun, 16 Oct 2011 02:17:32 +0000 (15 22:17 -0400)
committerDan McGee <dan@archlinux.org>
Sat, 22 Oct 2011 00:29:31 +0000 (21 19:29 -0500)
treef985a4db8beed3c75ccf309f4b03e601a6ff1455
parentd72487cc009f823e7a5600e018103679a947242c
sync: move file download loop out of download_files

Create a new static function called 'download_single_file' which
iterates over the servers for each payload.

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