X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=data1%2Fd1_absyn.c;h=d9100fbb83daa8f28459f8372dc033ab2f2783aa;hb=5a0bd8219f5265caf462c669ba9557b8d7fc2aed;hp=15892efa391f81804fccede884a053ae7382feae;hpb=53f50a1b1dd002ef484a41f50f3598386335cae1;p=idzebra-moved-to-github.git diff --git a/data1/d1_absyn.c b/data1/d1_absyn.c index 15892ef..d9100fb 100644 --- a/data1/d1_absyn.c +++ b/data1/d1_absyn.c @@ -1,8 +1,5 @@ -/* $Id: d1_absyn.c,v 1.36 2007-05-08 12:50:03 adam Exp $ - Copyright (C) 1995-2007 - Index Data ApS - -This file is part of the Zebra server. +/* This file is part of the Zebra server. + Copyright (C) 1994-2011 Index Data 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 @@ -864,9 +861,10 @@ static data1_absyn *data1_read_absyn(data1_handle dh, const char *file, data1_xpelement *xp_ele = 0; data1_xpelement *last_match = 0; - if (argc < 3) + if (argc != 3) { - yaz_log(YLOG_WARN, "%s:%d: Bad # of args to xelm", file, lineno); + yaz_log(YLOG_WARN, "%s:%d: Bad # of args to %s", + file, lineno, cmd); continue; } @@ -1209,6 +1207,7 @@ static data1_absyn *data1_read_absyn(data1_handle dh, const char *file, /* * Local variables: * c-basic-offset: 4 + * c-file-style: "Stroustrup" * indent-tabs-mode: nil * End: * vim: shiftwidth=4 tabstop=8 expandtab