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:
authorDan McGee <dan@archlinux.org>2011-09-19 14:32:53 -0500
committerDan McGee <dan@archlinux.org>2011-09-20 10:23:10 -0500
commit79cbce60ac4a40bf11d039e9bdcd09c852ce3292 (patch)
treec13c3310fb1167f448c238188a93873a63c4092d /lib/libalpm/sync.c
parent70e2c34f0f5db329b8e92fe3fc3043e495272f14 (diff)
Remove all usages of alpm_list_getdata() from the library
No need for the indirection; just access ->data instead. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'lib/libalpm/sync.c')
-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 c6a79fa0..732e786f 100644
--- a/lib/libalpm/sync.c
+++ b/lib/libalpm/sync.c
@@ -767,7 +767,7 @@ static int validate_deltas(alpm_handle_t *handle, alpm_list_t *deltas,
EVENT(handle, ALPM_EVENT_DELTA_INTEGRITY_START, NULL, NULL);
for(i = deltas; i; i = i->next) {
- alpm_delta_t *d = alpm_list_getdata(i);
+ alpm_delta_t *d = i->data;
char *filepath = _alpm_filecache_find(handle, d->delta);
if(_alpm_test_checksum(filepath, d->delta_md5, ALPM_CSUM_MD5)) {