diff options
author | Michael Schroeder <mls@suse.de> | 2013-10-16 18:29:13 +0200 |
---|---|---|
committer | Michael Schroeder <mls@suse.de> | 2013-10-16 18:29:13 +0200 |
commit | 9c424c737f26ec5af4257aed1f9d92fbe2862369 (patch) | |
tree | 4b212693d29344ff08d4817a4e3a695c5a8dea4e /ext/repo_pubkey.c | |
parent | 2581c2d378058f1a362b3106dbd567e6d23fa232 (diff) | |
download | libsolv-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.c | 8 |
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); } |