X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=data1%2Fd1_tagset.c;h=cba7e696c41577d3db0869afc51e53df4ca2bdfe;hb=585e87e5a6b274a8ee13b5432a462afd95c04096;hp=d9701013ca243b142d4bdc9a6bc01c7158e6ed97;hpb=ac13dceecd5f75669820819575daf88e0add5c8d;p=idzebra-moved-to-github.git diff --git a/data1/d1_tagset.c b/data1/d1_tagset.c index d970101..cba7e69 100644 --- a/data1/d1_tagset.c +++ b/data1/d1_tagset.c @@ -1,5 +1,5 @@ /* This file is part of the Zebra server. - Copyright (C) 1994-2011 Index Data + Copyright (C) 2004-2013 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 @@ -65,7 +65,7 @@ data1_tag *data1_gettagbynum (data1_handle dh, data1_tagset *s, int type, int value) { data1_tag *r; - + for (; s; s = s->next) { /* scan local set */ @@ -173,7 +173,7 @@ data1_tagset *data1_read_tagset (data1_handle dh, const char *file, int type) fclose(f); return 0; } - + /* read namelist */ nm = names; npp = &rr->names; @@ -204,7 +204,7 @@ data1_tagset *data1_read_tagset (data1_handle dh, const char *file, int type) else if (!strcmp(cmd, "reference")) { char *name; - + if (argc != 2) { yaz_log(YLOG_WARN, "%s:%d: Bad # args to reference",