Avoid empty strings for yaz_iconv_open
authorAdam Dickmeiss <adam@indexdata.dk>
Thu, 10 Mar 2011 09:22:53 +0000 (10:22 +0100)
committerAdam Dickmeiss <adam@indexdata.dk>
Thu, 10 Mar 2011 09:22:53 +0000 (10:22 +0100)
commit14ce856a0a41fb7923d62bd173cd4d8e130f02f8
tree971077874b5fa8d6d6261fdbeeb3e969687ffc92
parente6f0ebc4aaded2fc0cfa36a78f7dc65a3b1e0d70
Avoid empty strings for yaz_iconv_open

yaz_iconv_open apparently returns a non-null handle in case of
to=(null) and from="" .. Avoid we call it this way. This resulted
in bad records for Pazpar2 and was introduced in YAZ 4.1.5.
src/record_render.c