xbps_rindex_sync: pass correct file to the state cb.

This commit is contained in:
Juan RP 2013-01-31 09:33:06 +01:00
parent 782b85438e
commit d2178b70e3

View File

@ -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.
*/