X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=index%2Fextract.c;h=33f4f9ee3b49eaf458439fb59f9ccddf82c15231;hb=6d3b83ae7e008f2d61326051b03f7f07d3cc2ef0;hp=6718670c6830a73f97f37a88ba50c64b73d34924;hpb=289761234a123e7fb51df77ab9baf0a2cd101dbd;p=idzebra-moved-to-github.git diff --git a/index/extract.c b/index/extract.c index 6718670..33f4f9e 100644 --- a/index/extract.c +++ b/index/extract.c @@ -1,4 +1,4 @@ -/* $Id: extract.c,v 1.203 2006-02-20 18:39:43 adam Exp $ +/* $Id: extract.c,v 1.205 2006-03-25 21:18:09 adam Exp $ Copyright (C) 1995-2005 Index Data ApS @@ -921,7 +921,7 @@ ZEBRA_RES buffer_extract_record(ZebraHandle zh, if (!recType) { - yaz_log (YLOG_WARN, "No such record type: %s", zh->m_record_type); + yaz_log (YLOG_WARN, "No such record type: %s", recordType); return ZEBRA_FAIL; } @@ -1374,8 +1374,8 @@ void extract_flushRecordKeys (ZebraHandle zh, SYSNO sysno, { if (staticrank < 0) { - yaz_log(YLOG_WARN, "staticrank = %d. Setting to 0", - staticrank); + yaz_log(YLOG_WARN, "staticrank = %ld. Setting to 0", + (long) staticrank); staticrank = 0; } *keyp++ = staticrank;