xbps_repo_key_import: also print repourl in state cb.

This commit is contained in:
Juan RP 2013-10-15 09:58:51 +02:00
parent 70047586ee
commit aad0502b95

View File

@ -93,8 +93,8 @@ xbps_repo_key_import(struct xbps_repo *repo)
xbps_dictionary_get_cstring_nocopy(repo->meta, "signature-by", &signedby);
import = xbps_set_cb_state(repo->xhp, XBPS_STATE_REPO_KEY_IMPORT,
0, (const char *)fp,
"This repository is RSA signed by \"%s\"",
signedby);
"`%s' repository is RSA signed by \"%s\"",
repo->uri, signedby);
free(fp);
if (import <= 0) {
rv = EAGAIN;