index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Dan McGee <dan@archlinux.org> | 2008-01-22 22:00:12 -0600 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2008-02-24 20:21:58 -0600 |
commit | 81a2a06818d367f8528c74311171417beb9e1592 (patch) | |
tree | 62f21bce671e41feae2a453bc36561c8cbf4449a /lib/libalpm/sync.c | |
parent | 3e8ae774bdbc8572613a22988476b6b4e7ef91fd (diff) |
-rw-r--r-- | lib/libalpm/sync.c | 4 |
diff --git a/lib/libalpm/sync.c b/lib/libalpm/sync.c index ebc13cd3..707bc8e3 100644 --- a/lib/libalpm/sync.c +++ b/lib/libalpm/sync.c @@ -911,7 +911,7 @@ int _alpm_sync_commit(pmtrans_t *trans, pmdb_t *db_local, alpm_list_t **data) pmtrans_t *tr = NULL; int replaces = 0, retval = 0; const char *cachedir = NULL; - int dltotal = 0, dl = 0; + int dltotal = 0; ALPM_LOG_FUNC; @@ -992,7 +992,7 @@ int _alpm_sync_commit(pmtrans_t *trans, pmdb_t *db_local, alpm_list_t **data) if(files) { EVENT(trans, PM_TRANS_EVT_RETRIEVE_START, current->treename, NULL); - if(_alpm_downloadfiles(current->servers, cachedir, files, &dl, dltotal)) { + if(_alpm_download_files(files, current->servers, cachedir)) { _alpm_log(PM_LOG_WARNING, _("failed to retrieve some files from %s\n"), current->treename); RET_ERR(PM_ERR_RETRIEVE, -1); |