From 98a2508c2ea0a69c70119d9311847d8e4dee2a85 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Thu, 28 Jul 2011 09:34:29 +0200 Subject: [PATCH] xbps_repository_sync_pkg_index: fix copy/paste in trans err_cb. --- lib/repository_sync_index.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/repository_sync_index.c b/lib/repository_sync_index.c index 5ab36549..3a865948 100644 --- a/lib/repository_sync_index.c +++ b/lib/repository_sync_index.c @@ -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;