X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=retrieval%2Fd1_prtree.c;h=6f0441218b5eeb484e6b4322e9a4a305ded93671;hp=e5df6fe57f46c93728bbf938c8dc5ab0522203ea;hb=651ccb74d12f2968e791b3f411a6c55bca68428a;hpb=848e461264a05c14f4ced38f2df25c2232779fdd diff --git a/retrieval/d1_prtree.c b/retrieval/d1_prtree.c index e5df6fe..6f04412 100644 --- a/retrieval/d1_prtree.c +++ b/retrieval/d1_prtree.c @@ -3,7 +3,7 @@ * See the file LICENSE for details. * Sebastian Hammer, Adam Dickmeiss * - * $Id: d1_prtree.c,v 1.7 2002-01-26 19:20:25 adam Exp $ + * $Id: d1_prtree.c,v 1.8 2002-05-13 14:13:37 adam Exp $ */ #include @@ -27,12 +27,11 @@ static void pr_tree (data1_handle dh, data1_node *n, FILE *out, int level) fprintf (out, "%*s", level, ""); switch (n->which) { - case DATA1N_root: - fprintf (out, "root abstract syntax=%s\n", n->u.root.type); - break; + case DATA1N_root: + fprintf (out, "root abstract syntax=%s\n", n->u.root.type); + break; case DATA1N_tag: fprintf (out, "tag type=%s\n", n->u.tag.tag); -#if DATA1_USING_XATTR if (n->u.tag.attributes) { data1_xattr *xattr = n->u.tag.attributes; @@ -41,7 +40,6 @@ static void pr_tree (data1_handle dh, data1_node *n, FILE *out, int level) fprintf (out, " %s=%s ", xattr->name, xattr->value); fprintf (out, "\n"); } -#endif break; case DATA1N_data: fprintf (out, "data type=");