Fix previous; only use arg0 in client cb.
This commit is contained in:
parent
d2178b70e3
commit
7360a6fca3
@ -59,8 +59,7 @@ state_cb(struct xbps_state_cb_data *xscd, void *cbdata)
|
||||
printf("\n[*] Configuring unpacked packages\n");
|
||||
break;
|
||||
case XBPS_STATE_REPOSYNC:
|
||||
printf("[*] Updating `%s/%s' ...\n",
|
||||
xscd->arg0, xscd->arg1);
|
||||
printf("[*] Updating `%s' ...\n", xscd->arg0);
|
||||
break;
|
||||
case XBPS_STATE_VERIFY:
|
||||
printf("%s: checking binary pkg integrity ...\n", xscd->arg0);
|
||||
|
@ -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, rpidx, NULL);
|
||||
xbps_set_cb_state(xhp, XBPS_STATE_REPOSYNC, 0, rpidx, NULL, NULL);
|
||||
/*
|
||||
* Download plist index file from repository.
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user