From d2178b70e37dc12997ef8d092f705f4e9c875012 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Thu, 31 Jan 2013 09:33:06 +0100 Subject: [PATCH] xbps_rindex_sync: pass correct file to the state cb. --- lib/rindex_sync.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/rindex_sync.c b/lib/rindex_sync.c index ae9a100b..830ea879 100644 --- a/lib/rindex_sync.c +++ b/lib/rindex_sync.c @@ -125,7 +125,7 @@ xbps_rindex_sync(struct xbps_handle *xhp, const char *uri, const char *plistf) } /* reposync start cb */ - xbps_set_cb_state(xhp, XBPS_STATE_REPOSYNC, 0, uri, plistf, NULL); + xbps_set_cb_state(xhp, XBPS_STATE_REPOSYNC, 0, uri, rpidx, NULL); /* * Download plist index file from repository. */