sync_commit: refactor out file downloads
commit2df1534b787a87b4b7e8e4aaa5a9d5c2e3c6e47a
authorDan McGee <dan@archlinux.org>
Fri, 22 Apr 2011 02:40:00 +0000 (21 21:40 -0500)
committerDan McGee <dan@archlinux.org>
Sun, 24 Apr 2011 15:48:34 +0000 (24 10:48 -0500)
treefffd2ea60db7d7139c016779ad5c0cd1e1dafdf8
parent225acbbff176e52a88eb6b8030d331a599a7ef06
sync_commit: refactor out file downloads

This part is almost completely self-contained, except building the list
of delta filenames that we use later to check their md5sums. Refactor it
into a static method so we can bring most of the code in sync_commit
closer to the method name.

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