From e1124800a5eaa165ca6643d293ee7c53b916fee9 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Thu, 11 Sep 2014 11:51:20 +0200 Subject: [PATCH] lib/repo_sync.c: xbps_fetch_file_dest() expects 4 args not 5 (hi Tox) --- lib/repo_sync.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/repo_sync.c b/lib/repo_sync.c index 0ae76261..1ae5ddf6 100644 --- a/lib/repo_sync.c +++ b/lib/repo_sync.c @@ -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,