X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=retrieval%2Fd1_expout.c;h=3df9694bc3283382c88c7a85aed4bbc7834113b6;hp=18de3d3868422e4c867973663d15be9ecdd252bd;hb=b440dce0831a72bebe4f4821ab7771cc05e8facb;hpb=d74993fb08e9d5112264f1cc73973dc986dd41ad diff --git a/retrieval/d1_expout.c b/retrieval/d1_expout.c index 18de3d3..3df9694 100644 --- a/retrieval/d1_expout.c +++ b/retrieval/d1_expout.c @@ -1,10 +1,13 @@ /* - * Copyright (c) 1995-1998, Index Data. + * Copyright (c) 1995-1999, Index Data. * See the file LICENSE for details. * Sebastian Hammer, Adam Dickmeiss * * $Log: d1_expout.c,v $ - * Revision 1.15 1998-09-28 12:44:40 adam + * Revision 1.16 1999-08-27 09:40:32 adam + * Renamed logf function to yaz_log. Removed VC++ project files. + * + * Revision 1.15 1998/09/28 12:44:40 adam * Fixed bug in f_integer. * * Revision 1.14 1998/06/08 14:26:41 adam @@ -81,12 +84,12 @@ static int is_numeric_tag (ExpHandle *eh, data1_node *c) return 0; if (!c->u.tag.element) { - logf(LOG_WARN, "Tag %s is local", c->u.tag.tag); + yaz_log(LOG_WARN, "Tag %s is local", c->u.tag.tag); return 0; } if (c->u.tag.element->tag->which != DATA1T_numeric) { - logf(LOG_WARN, "Tag %s is not numeric", c->u.tag.tag); + yaz_log(LOG_WARN, "Tag %s is not numeric", c->u.tag.tag); return 0; } if (eh->select && !c->u.tag.node_selected) @@ -1415,7 +1418,7 @@ Z_ExplainRecord *data1_nodetoexplain (data1_handle dh, data1_node *n, assert(n->which == DATA1N_root); if (strcmp(n->u.root.type, "explain")) { - logf(LOG_WARN, "Attempt to convert a non-Explain record"); + yaz_log(LOG_WARN, "Attempt to convert a non-Explain record"); return 0; } for (n = n->child; n; n = n->next) @@ -1449,6 +1452,6 @@ Z_ExplainRecord *data1_nodetoexplain (data1_handle dh, data1_node *n, return res; } } - logf(LOG_WARN, "No category in Explain record"); + yaz_log(LOG_WARN, "No category in Explain record"); return 0; }