X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=index%2Fkinput.c;h=cd86e329564b17201fc117884776a5ac5ebfaa20;hb=2eacaa1e549428b231de5844f397466f6a44c59f;hp=57dab07305aeaf33280cd1be21e9c97f445f854f;hpb=d82c0efad7971d102220a8824e1ea674db5b7fe2;p=idzebra-moved-to-github.git diff --git a/index/kinput.c b/index/kinput.c index 57dab07..cd86e32 100644 --- a/index/kinput.c +++ b/index/kinput.c @@ -1,4 +1,4 @@ -/* $Id: kinput.c,v 1.84 2007-10-29 09:25:40 adam Exp $ +/* $Id: kinput.c,v 1.85 2007-10-29 16:57:52 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); @@ -389,9 +389,9 @@ void zebra_log_dict_entry(ZebraHandle zh, const char *s) zebraExplain_lookup_ord(zh->reg->zei, ord, &index_type, &db, &string_index); - zebra_term_untrans(zh, index_type, dst, s + len); + 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); } }