X-Git-Url: https://git.distorted.org.uk/~mdw/become/blobdiff_plain/f60a34341fee6aafd5b878dce23b80af7c60064d..af4f4d6a77aceba8e2d6f58d15e894df320e7c24:/src/bcquery.c diff --git a/src/bcquery.c b/src/bcquery.c index 2d07ad3..ddad501 100644 --- a/src/bcquery.c +++ b/src/bcquery.c @@ -1,6 +1,6 @@ /* -*-c-*- * - * $Id: bcquery.c,v 1.4 2003/10/12 00:14:55 mdw Exp $ + * $Id: bcquery.c,v 1.6 2004/04/08 01:36:20 mdw Exp $ * * Query and dump Become's configuration file * @@ -26,25 +26,6 @@ * Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -/*----- Revision history --------------------------------------------------* - * - * $Log: bcquery.c,v $ - * Revision 1.4 2003/10/12 00:14:55 mdw - * Major overhaul. Now uses DSA signatures rather than the bogus symmetric - * encrypt-and-hope thing. Integrated with mLib and Catacomb. - * - * Revision 1.3 1999/05/04 16:17:11 mdw - * Change to header file name for parser. See log for `parse.h' for - * details. - * - * Revision 1.2 1998/06/26 10:32:31 mdw - * Cosmetic change: use sizeof(destination) in memcpy. - * - * Revision 1.1 1998/04/23 13:20:20 mdw - * Added new program to verify and query Become configuration files. - * - */ - /*----- Header files ------------------------------------------------------*/ /* --- ANSI headers --- */ @@ -461,8 +442,10 @@ static qnode *qparse(void) static void dumptree(qnode *q, int indent) { - if (!q) + if (!q) { printf(" -- magic query which matches everything\n"); + return; + } again: printf("%*s", indent * 2, "");