Towards 2.0.22.
[idzebra-moved-to-github.git] / index / kinput.c
index 57dab07..9101fa7 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: kinput.c,v 1.84 2007-10-29 09:25:40 adam Exp $
+/* $Id: kinput.c,v 1.86 2007-10-31 16:56:14 adam Exp $
    Copyright (C) 1995-2007
    Index Data ApS
 
@@ -378,7 +378,7 @@ void zebra_log_dict_entry(ZebraHandle zh, const char *s)
     char dst[IT_MAX_WORD+1];
     int ord;
     int len = key_SU_decode(&ord, (const unsigned char *) s);
-    int index_type;
+    const char *index_type;
 
     if (!zh)
         yaz_log(YLOG_LOG, "ord=%d", ord);
@@ -391,7 +391,7 @@ void zebra_log_dict_entry(ZebraHandle zh, const char *s)
 
         zebra_term_untrans(zh, index_type, dst, s + len);
 
-        yaz_log(YLOG_LOG, "ord=%d index_type=%c index=%s term=%s",
+        yaz_log(YLOG_LOG, "ord=%d index_type=%s index=%s term=%s",
                 ord, index_type, string_index, dst);
     }
 }