xbps_repository_sync_pkg_index: fix copy/paste in trans err_cb.

This commit is contained in:
Juan RP 2011-07-28 09:34:29 +02:00
parent 6f783389dd
commit 98a2508c2e

View File

@ -183,7 +183,7 @@ xbps_repository_sync_pkg_index(const char *uri)
xhp->xtcd->state = XBPS_TRANS_STATE_REPOSYNC;
xhp->xtcd->repourl = uri;
xhp->xtcd->err = rv;
xhp->xbps_transaction_cb(xhp->xtcd);
xhp->xbps_transaction_err_cb(xhp->xtcd);
}
rv = -1;
errno = sverrno;