lib/repo_sync.c: xbps_fetch_file_dest() expects 4 args not 5 (hi Tox)

This commit is contained in:
Juan RP 2014-09-11 11:51:20 +02:00
parent f9d162e639
commit e1124800a5

View File

@ -134,7 +134,7 @@ xbps_repo_sync(struct xbps_handle *xhp, const char *uri)
* XXX: replace xbps_fetch_file_dest() by xbps_fetch_delta() once delta
* generation works reliable.
*/
if ((rv = xbps_fetch_file_dest(xhp, repofile, repodata, repofile, NULL)) == -1) {
if ((rv = xbps_fetch_file_dest(xhp, repofile, repodata, NULL)) == -1) {
/* reposync error cb */
fetchstr = xbps_fetch_error_string();
xbps_set_cb_state(xhp, XBPS_STATE_REPOSYNC_FAIL,