Log if attribute id for icu_chain is missing
authorAdam Dickmeiss <adam@indexdata.dk>
Tue, 13 Sep 2011 19:01:08 +0000 (21:01 +0200)
committerAdam Dickmeiss <adam@indexdata.dk>
Tue, 13 Sep 2011 19:01:08 +0000 (21:01 +0200)
src/charsets.c

index ba5d426..397e73b 100644 (file)
@@ -171,6 +171,7 @@ int pp2_charset_fact_define(pp2_charset_fact_t pft,
         default_id = (const char *) id;
     if (!default_id)
     {
+        yaz_log(YLOG_WARN, "Missing id for icu_chain");
         pp2_charset_destroy(pct);
         return -1;
     }