Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/lib/libalpm/sync.c
diff options
context:
space:
mode:
authorAllan McRae <allan@archlinux.org>2011-06-28 14:38:38 +1000
committerAllan McRae <allan@archlinux.org>2011-06-28 23:28:23 +1000
commitbfe1771067e372420d857094befd6c6ea5b28495 (patch)
tree3543ccd6a7c3d697fa91de839971a311491b0141 /lib/libalpm/sync.c
parent1fdbe7902219c5ed3e56b921acae4f3a58b9e76e (diff)
Rename pmdelta_t to alpm_delta_t
Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'lib/libalpm/sync.c')
-rw-r--r--lib/libalpm/sync.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libalpm/sync.c b/lib/libalpm/sync.c
index 0c257684..37753487 100644
--- a/lib/libalpm/sync.c
+++ b/lib/libalpm/sync.c
@@ -600,7 +600,7 @@ static int apply_deltas(alpm_handle_t *handle)
}
for(dlts = delta_path; dlts; dlts = dlts->next) {
- pmdelta_t *d = dlts->data;
+ alpm_delta_t *d = dlts->data;
char *delta, *from, *to;
char command[PATH_MAX];
size_t len = 0;
@@ -704,7 +704,7 @@ static int validate_deltas(alpm_handle_t *handle, alpm_list_t *deltas,
EVENT(trans, PM_TRANS_EVT_DELTA_INTEGRITY_START, NULL, NULL);
for(i = deltas; i; i = i->next) {
- pmdelta_t *d = alpm_list_getdata(i);
+ alpm_delta_t *d = alpm_list_getdata(i);
char *filepath = _alpm_filecache_find(handle, d->delta);
if(test_md5sum(trans, filepath, d->delta_md5) != 0) {
@@ -766,7 +766,7 @@ static int download_files(alpm_handle_t *handle, alpm_list_t **deltas)
/* using deltas */
alpm_list_t *dlts;
for(dlts = delta_path; dlts; dlts = dlts->next) {
- pmdelta_t *delta = dlts->data;
+ alpm_delta_t *delta = dlts->data;
if(delta->download_size != 0) {
files = alpm_list_add(files, strdup(delta->delta));
}