index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Dan McGee <dan@archlinux.org> | 2012-02-01 23:45:52 -0600 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2012-02-06 05:49:52 -0600 |
commit | b488f229d2ec4f2e4b9e746d68422460ca664715 (patch) | |
tree | 31604f41d7c3780d3b76ac4bb87c10e676a16c54 /src/util/pactree.c | |
parent | f12effc6ff4605ea81b3b765ff1655107aad29d8 (diff) |
-rw-r--r-- | src/util/pactree.c | 6 |
diff --git a/src/util/pactree.c b/src/util/pactree.c index 0adc2ea8..a7dab9f1 100644 --- a/src/util/pactree.c +++ b/src/util/pactree.c @@ -184,7 +184,7 @@ static int register_syncs(void) { section = strndup(&line[1], linelen - 2); if(section && strcmp(section, "options") != 0) { - alpm_db_register_sync(handle, section, level); + alpm_register_syncdb(handle, section, level); } } } @@ -468,9 +468,9 @@ int main(int argc, char *argv[]) ret = 1; goto finish; } - dblist = alpm_option_get_syncdbs(handle); + dblist = alpm_get_syncdbs(handle); } else { - dblist = alpm_list_add(dblist, alpm_option_get_localdb(handle)); + dblist = alpm_list_add(dblist, alpm_get_localdb(handle)); freelist = 1; } |