From ead20c495c52bacfb5fd7fd796bee0fb56981c52 Mon Sep 17 00:00:00 2001 From: Panu Matilainen Date: Thu, 15 Dec 2011 15:21:57 +0200 Subject: [PATCH] Oops, newlines dont belong in format extension output - Thinko in commit 6acef96d9e1eddb588e24f924f6cf9d29ea48d64, duh --- lib/formats.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/formats.c b/lib/formats.c index 8660728..b830bbd 100644 --- a/lib/formats.c +++ b/lib/formats.c @@ -439,11 +439,11 @@ static char * pgpsigFormat(rpmtd td) if (!(tms && strftime(dbuf, sizeof(dbuf), "%c", tms) > 0)) { snprintf(dbuf, sizeof(dbuf), - _("Invalid date %u\n"), dateint); + _("Invalid date %u"), dateint); dbuf[sizeof(dbuf)-1] = '\0'; } - rasprintf(&val, "%s/%s, %s, Key ID %s\n", + rasprintf(&val, "%s/%s, %s, Key ID %s", pgpValString(PGPVAL_PUBKEYALGO, key_algo), pgpValString(PGPVAL_HASHALGO, hash_algo), dbuf, keyid); -- 2.7.4