X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=data1%2Fd1_grs.c;h=a99e0a08ceaea6753a693e086af705dbe8265b99;hb=585e87e5a6b274a8ee13b5432a462afd95c04096;hp=fe816b4f5ca14136fd5ff2bd298bd7e73b78b97f;hpb=ac13dceecd5f75669820819575daf88e0add5c8d;p=idzebra-moved-to-github.git diff --git a/data1/d1_grs.c b/data1/d1_grs.c index fe816b4..a99e0a0 100644 --- a/data1/d1_grs.c +++ b/data1/d1_grs.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 @@ -107,7 +107,7 @@ static int traverse_triples(data1_node *n, int level, Z_ElementMetaData *m, ODR o) { data1_node *c; - + for (c = n->child; c; c = c->next) if (c->which == DATA1N_data && level) { @@ -235,7 +235,7 @@ static int is_empty_data (data1_node *n) || n->u.data.what == DATA1I_xmltext)) { int i = n->u.data.len; - + while (i > 0 && d1_isspace(n->u.data.data[i-1])) i--; if (i == 0) @@ -306,9 +306,9 @@ static Z_TaggedElement *nodetotaggedelement(data1_handle dh, data1_node *n, { char *tagstr; - if (n->which == DATA1N_tag) + if (n->which == DATA1N_tag) tagstr = n->u.tag.tag; /* tag at node */ - else if (tag) + else if (tag) tagstr = tag->value.string; /* no take from well-known */ else return 0;