From 0b155677cf127a2cd765f05125df727bb659b597 Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Fri, 21 Oct 2011 11:19:45 -0500 Subject: sync: extract build_payload() method from find_dl_candidates This is done by both the delta and regular file code, so we can extract a little helper method. Done mostly to satisfy my "why are we repeating code here" itch. Signed-off-by: Dan McGee --- lib/libalpm/dload.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/libalpm/dload.h') diff --git a/lib/libalpm/dload.h b/lib/libalpm/dload.h index 158e0b77..9ab90b42 100644 --- a/lib/libalpm/dload.h +++ b/lib/libalpm/dload.h @@ -38,7 +38,7 @@ struct dload_payload { int allow_resume; int errors_ok; int unlink_on_fail; - const alpm_list_t *servers; + alpm_list_t *servers; #ifdef HAVE_LIBCURL CURLcode curlerr; /* last error produced by curl */ #endif -- cgit v1.2.3-24-g4f1b