xbps_repo_sync: fix swapped args (Hi Tox!)
This commit is contained in:
parent
6ba20bb5ca
commit
4ab831888a
@ -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,
|
||||||
|
Loading…
Reference in New Issue
Block a user