X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=index%2Fzserver.c;h=c2642c752aa09223f1184d6d26e3b73bd73d5107;hb=ba572d8e1de44023f355c09c4250328aba0e9a47;hp=12f4e5e9319bd7bebc2fb5c0d5a837c55b4225c7;hpb=fbb8cf7bf8582db044949d488ca9dcdbb92f352b;p=idzebra-moved-to-github.git diff --git a/index/zserver.c b/index/zserver.c index 12f4e5e..c2642c7 100644 --- a/index/zserver.c +++ b/index/zserver.c @@ -3,7 +3,16 @@ * All rights reserved. * * $Log: zserver.c,v $ - * Revision 1.79 2000-05-09 10:56:50 adam + * Revision 1.82 2001-07-09 23:40:09 adam + * WIN32 fix. + * + * Revision 1.81 2001/02/14 21:42:07 adam + * Fixed versions as returned in INIT response. + * + * Revision 1.80 2000/09/05 14:04:05 adam + * Updates for prefix 'yaz_' for YAZ log functions. + * + * Revision 1.79 2000/05/09 10:56:50 adam * Added call to xmalloc/nmem debugging functions. * * Revision 1.78 2000/04/05 09:49:35 adam @@ -328,8 +337,13 @@ bend_initresult *bend_init (bend_initrequest *q) q->bend_fetch = bend_fetch; q->bend_scan = bend_scan; +#if ZMBOL q->implementation_name = "Z'mbol Information Server"; - q->implementation_version = "Z'mbol 1.0"; + q->implementation_version = "Z'mbol " ZEBRAVER; +#else + q->implementation_name = "Zebra Information Server"; + q->implementation_version = "Zebra " ZEBRAVER; +#endif logf (LOG_DEBUG, "bend_init"); @@ -641,7 +655,7 @@ int bend_esrequest (void *handle, bend_esrequest_rr *rr) odr_errmsg(odr_geterror(rr->decode)), odr_offset(rr->decode)); yaz_log(LOG_LOG, "PDU dump:"); - odr_dumpBER(log_file(), + odr_dumpBER(yaz_log_file(), r->u.single_ASN1_type->buf, r->u.single_ASN1_type->len); } @@ -666,7 +680,7 @@ int bend_esrequest (void *handle, bend_esrequest_rr *rr) odr_errmsg(odr_geterror(rr->decode)), odr_offset(rr->decode)); yaz_log(LOG_LOG, "PDU dump:"); - odr_dumpBER(log_file(), + odr_dumpBER(yaz_log_file(), r->u.single_ASN1_type->buf, r->u.single_ASN1_type->len); }