Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/lib/libalpm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libalpm')
-rw-r--r--lib/libalpm/sync.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libalpm/sync.c b/lib/libalpm/sync.c
index cf209717..a946a7df 100644
--- a/lib/libalpm/sync.c
+++ b/lib/libalpm/sync.c
@@ -845,7 +845,7 @@ static int download_files(alpm_handle_t *handle, alpm_list_t **deltas)
CALLOC(dpayload, 1, sizeof(*dpayload), RET_ERR(handle, ALPM_ERR_MEMORY, -1));
STRDUP(dpayload->remote_name, delta->delta, RET_ERR(handle, ALPM_ERR_MEMORY, -1));
- dpayload->max_size = delta->download_size;
+ dpayload->max_size = delta->delta_size;
files = alpm_list_add(files, dpayload);
}