X-Git-Url: http://sru.miketaylor.org.uk/?a=blobdiff_plain;f=data1%2Fd1_doespec.c;h=57d260dba10a12672631ac1943f0964a96432fc4;hb=8add234f71c852fd95ca3aef168e3563265c93b9;hp=b809fa3e59bbac664dec3a74daf36faacf06b9a8;hpb=519fefb91135ad52134b9fc4e82b3874f5525a2b;p=idzebra-moved-to-github.git diff --git a/data1/d1_doespec.c b/data1/d1_doespec.c index b809fa3..57d260d 100644 --- a/data1/d1_doespec.c +++ b/data1/d1_doespec.c @@ -1,17 +1,32 @@ -/* - * 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.7 2005-01-16 23:14:56 adam Exp $ + Copyright (C) 1995-2005 + 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 +#include static int match_children(data1_handle dh, data1_node *n, Z_Espec1 *e, int i, Z_ETagUnit **t, @@ -183,7 +198,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 ||