Debianization.
[become] / src / bcquery.c
index 2d07ad3..9b92877 100644 (file)
@@ -1,6 +1,6 @@
 /* -*-c-*-
  *
- * $Id: bcquery.c,v 1.4 2003/10/12 00:14:55 mdw Exp $
+ * $Id: bcquery.c,v 1.5 2003/11/29 23:39:16 mdw Exp $
  *
  * Query and dump Become's configuration file
  *
@@ -29,6 +29,9 @@
 /*----- Revision history --------------------------------------------------*
  *
  * $Log: bcquery.c,v $
+ * Revision 1.5  2003/11/29 23:39:16  mdw
+ * Debianization.
+ *
  * 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.
@@ -461,8 +464,10 @@ static qnode *qparse(void)
 
 static void dumptree(qnode *q, int indent)
 {
-  if (!q)
+  if (!q) {
     printf("<empty> -- magic query which matches everything\n");
+    return;
+  }
 
 again:
   printf("%*s", indent * 2, "");