From 4e15230c93cf2cbf5c9e06e290501af14f5b743f Mon Sep 17 00:00:00 2001 From: Juan RP Date: Wed, 7 Nov 2012 10:18:58 +0100 Subject: [PATCH] repository_sync_index: fix swapped args passed to XBPS_STATE_REPOSYNC. --- lib/repository_sync_index.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/repository_sync_index.c b/lib/repository_sync_index.c index 57938925..16735f44 100644 --- a/lib/repository_sync_index.c +++ b/lib/repository_sync_index.c @@ -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. */