repository_sync_index: fix swapped args passed to XBPS_STATE_REPOSYNC.

This commit is contained in:
Juan RP 2012-11-07 10:18:58 +01:00
parent 45b872f75e
commit 4e15230c93

View File

@ -162,7 +162,7 @@ xbps_repository_sync_pkg_index(struct xbps_handle *xhp,
fetch_outputdir = xhp->metadir;
/* reposync start cb */
xbps_set_cb_state(xhp, XBPS_STATE_REPOSYNC, 0, plistf, uri, NULL);
xbps_set_cb_state(xhp, XBPS_STATE_REPOSYNC, 0, uri, plistf, NULL);
/*
* Download plist index file from repository.
*/