API changes to WRBUF. wrbuf_free removed; replaced by wrbuf_destroy. And
[yaz-moved-to-github.git] / src / cclptree.c
index bb8196f..bcdfe71 100644 (file)
@@ -53,7 +53,7 @@
 /* CCL print rpn tree - infix notation
  * Europagate, 1995
  *
- * $Id: cclptree.c,v 1.6 2005-06-25 15:46:03 adam Exp $
+ * $Id: cclptree.c,v 1.7 2007-03-19 14:40:07 adam Exp $
  *
  * Old Europagate Log:
  *
@@ -271,6 +271,7 @@ void ccl_pquery (WRBUF w, struct ccl_rpn_node *p)
         wrbuf_puts (w, " ");
         break;
     }
+    wrbuf_cstr(w);
 }
 /*
  * Local variables: