summaryrefslogtreecommitdiff
path: root/lib/header.c
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2008-08-07 18:44:03 +0300
committerPanu Matilainen <pmatilai@redhat.com>2008-08-07 18:44:03 +0300
commit4b61c45dbb9965c90ddc1da6c3b8d77959bf682a (patch)
tree75f894f3f81a2448ffda70fbf474be4919581f5a /lib/header.c
parenta366612ec3fde6b2506072fa2288454118fda29d (diff)
downloadlibrpm-tizen-4b61c45dbb9965c90ddc1da6c3b8d77959bf682a.tar.gz
librpm-tizen-4b61c45dbb9965c90ddc1da6c3b8d77959bf682a.tar.bz2
librpm-tizen-4b61c45dbb9965c90ddc1da6c3b8d77959bf682a.zip
Permit i18nstring in headerPutString()
Diffstat (limited to 'lib/header.c')
-rw-r--r--lib/header.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/header.c b/lib/header.c
index 2f3d7a0c2..fa38c89f9 100644
--- a/lib/header.c
+++ b/lib/header.c
@@ -1631,7 +1631,7 @@ int headerPutString(Header h, rpmTag tag, const char *val)
const void *sptr = NULL;
/* string arrays expect char **, arrange that */
- if (type == RPM_STRING_ARRAY_TYPE) {
+ if (type == RPM_STRING_ARRAY_TYPE || type == RPM_I18NSTRING_TYPE) {
sptr = &val;
} else if (type == RPM_STRING_TYPE) {
sptr = val;