xbps_repo_sync: fix swapped args (Hi Tox!)

This commit is contained in:
Juan RP 2014-09-11 13:38:26 +02:00
parent 6ba20bb5ca
commit 4ab831888a

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 * XXX: replace xbps_fetch_file_dest() by xbps_fetch_delta() once delta
* generation works reliable. * generation works reliable.
*/ */
if ((rv = xbps_fetch_file_dest(xhp, repofile, repodata, NULL)) == -1) { if ((rv = xbps_fetch_file_dest(xhp, repodata, repofile, NULL)) == -1) {
/* reposync error cb */ /* reposync error cb */
fetchstr = xbps_fetch_error_string(); fetchstr = xbps_fetch_error_string();
xbps_set_cb_state(xhp, XBPS_STATE_REPOSYNC_FAIL, xbps_set_cb_state(xhp, XBPS_STATE_REPOSYNC_FAIL,