X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=data1%2Fd1_doespec.c;h=7a86264ea4c1d0b4e56494db824d7f073e9c57dd;hb=0e56fa84bb4a5985c19a21926e86862c08d84689;hp=b809fa3e59bbac664dec3a74daf36faacf06b9a8;hpb=519fefb91135ad52134b9fc4e82b3874f5525a2b;p=idzebra-moved-to-github.git diff --git a/data1/d1_doespec.c b/data1/d1_doespec.c index b809fa3..7a86264 100644 --- a/data1/d1_doespec.c +++ b/data1/d1_doespec.c @@ -1,17 +1,31 @@ -/* - * Copyright (c) 1995-2002, Index Data. - * See the file LICENSE for details. - * Sebastian Hammer, Adam Dickmeiss - * - * $Id: d1_doespec.c,v 1.1 2002-10-22 12:53:33 adam Exp $ - */ +/* $Id: d1_doespec.c,v 1.4 2004-11-19 10:26:53 heikki Exp $ + Copyright (C) 1995,1996,1997,1998,1999,2000,2001,2002 + Index Data Aps + +This file is part of the Zebra server. + +Zebra is free software; you can redistribute it and/or modify it under +the terms of the GNU General Public License as published by the Free +Software Foundation; either version 2, or (at your option) any later +version. + +Zebra is distributed in the hope that it will be useful, but WITHOUT ANY +WARRANTY; without even the implied warranty of MERCHANTABILITY or +FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License +for more details. + +You should have received a copy of the GNU General Public License +along with Zebra; see the file LICENSE.zebra. If not, write to the +Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA +02111-1307, USA. +*/ #include #include -#include +#include #include -#include +#include static int match_children(data1_handle dh, data1_node *n, Z_Espec1 *e, int i, Z_ETagUnit **t, @@ -183,7 +197,7 @@ static int match_children_here (data1_handle dh, data1_node *n, counter++; if (occur && occur->which == Z_Occurrences_last) { - yaz_log(LOG_WARN, "Can't do occurrences=last (yet)"); + yaz_log(YLOG_WARN, "Can't do occurrences=last (yet)"); return 0; } if (!occur || occur->which == Z_Occurrences_all ||