X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=index%2Fretrieve.c;h=5e2ed207f68e9cd8fa3ef368be544134083a9e79;hb=9252c3f4231f9f3226326ce1360f055bad48b8d1;hp=dcc17b9018ed624e56f10aa683b6ce4b44043dc5;hpb=a4e93d62564084d6d1b6670d4fe75dd70a6ed139;p=idzebra-moved-to-github.git diff --git a/index/retrieve.c b/index/retrieve.c index dcc17b9..5e2ed20 100644 --- a/index/retrieve.c +++ b/index/retrieve.c @@ -4,7 +4,10 @@ * Sebastian Hammer, Adam Dickmeiss * * $Log: retrieve.c,v $ - * Revision 1.7 1999-03-02 16:15:43 quinn + * Revision 1.8 1999-03-09 16:27:49 adam + * More work on SDRKit integration. + * + * Revision 1.7 1999/03/02 16:15:43 quinn * Added "tagsysno" and "tagrank" directives to zebra.cfg. * * Revision 1.6 1999/02/18 15:01:25 adam @@ -193,12 +196,12 @@ int zebra_record_fetch (ZebraHandle zh, int sysno, int score, ODR stream, recordAttr->recordOffset); if (fc.record_int_len > 180) { - logf (LOG_LOG, "%0.70s", fc.record_int_buf); - logf (LOG_LOG, "%0.70s", fc.record_int_buf + + logf (LOG_LOG, "%.70s", fc.record_int_buf); + logf (LOG_LOG, "%.70s", fc.record_int_buf + (fc.record_int_len - 70)); } else - logf (LOG_LOG, "%0.*s", + logf (LOG_LOG, "%.*s", fc.record_int_len, fc.record_int_buf); /* the following two lines makes rec_rm delete buf */