xbps_repository_sync_pkg_index: fix copy/paste in trans err_cb.
This commit is contained in:
parent
6f783389dd
commit
98a2508c2e
@ -183,7 +183,7 @@ xbps_repository_sync_pkg_index(const char *uri)
|
|||||||
xhp->xtcd->state = XBPS_TRANS_STATE_REPOSYNC;
|
xhp->xtcd->state = XBPS_TRANS_STATE_REPOSYNC;
|
||||||
xhp->xtcd->repourl = uri;
|
xhp->xtcd->repourl = uri;
|
||||||
xhp->xtcd->err = rv;
|
xhp->xtcd->err = rv;
|
||||||
xhp->xbps_transaction_cb(xhp->xtcd);
|
xhp->xbps_transaction_err_cb(xhp->xtcd);
|
||||||
}
|
}
|
||||||
rv = -1;
|
rv = -1;
|
||||||
errno = sverrno;
|
errno = sverrno;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user