From 9c424c737f26ec5af4257aed1f9d92fbe2862369 Mon Sep 17 00:00:00 2001 From: Michael Schroeder Date: Wed, 16 Oct 2013 18:29:13 +0200 Subject: remove trailing whitespace --- ext/repo_pubkey.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'ext/repo_pubkey.c') diff --git a/ext/repo_pubkey.c b/ext/repo_pubkey.c index 17558ba..5b778a2 100644 --- a/ext/repo_pubkey.c +++ b/ext/repo_pubkey.c @@ -43,16 +43,16 @@ #include "solv_pgpvrfy.h" #endif -static void +static void setutf8string(Repodata *repodata, Id handle, Id tag, const char *str) { if (str[solv_validutf8(str)]) - { + { char *ustr = solv_latin1toutf8(str); /* not utf8, assume latin1 */ repodata_set_str(repodata, handle, tag, ustr); solv_free(ustr); - } - else + } + else repodata_set_str(repodata, handle, tag, str); } -- cgit v1.2.3