summaryrefslogtreecommitdiff
path: root/ext/repo_pubkey.c
diff options
context:
space:
mode:
authorMichael Schroeder <mls@suse.de>2013-10-16 18:29:13 +0200
committerMichael Schroeder <mls@suse.de>2013-10-16 18:29:13 +0200
commit9c424c737f26ec5af4257aed1f9d92fbe2862369 (patch)
tree4b212693d29344ff08d4817a4e3a695c5a8dea4e /ext/repo_pubkey.c
parent2581c2d378058f1a362b3106dbd567e6d23fa232 (diff)
downloadlibsolv-9c424c737f26ec5af4257aed1f9d92fbe2862369.tar.gz
libsolv-9c424c737f26ec5af4257aed1f9d92fbe2862369.tar.bz2
libsolv-9c424c737f26ec5af4257aed1f9d92fbe2862369.zip
remove trailing whitespace
Diffstat (limited to 'ext/repo_pubkey.c')
-rw-r--r--ext/repo_pubkey.c8
1 files changed, 4 insertions, 4 deletions
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);
}