From 2f21d298f05796bd90d51574c242f2634bed9902 Mon Sep 17 00:00:00 2001 From: Sebastian Hammer Date: Thu, 16 Feb 1995 15:14:53 +0000 Subject: [PATCH] Fixed KWAQS-generator --- zlayer/zaccess.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/zlayer/zaccess.c b/zlayer/zaccess.c index ea237a9..e342786 100644 --- a/zlayer/zaccess.c +++ b/zlayer/zaccess.c @@ -2,7 +2,10 @@ * Europagate, 1995 * * $Log: zaccess.c,v $ - * Revision 1.1 1995/02/16 14:47:55 quinn + * Revision 1.2 1995/02/16 15:14:53 quinn + * Fixed KWAQS-generator + * + * Revision 1.1 1995/02/16 14:47:55 quinn * First kick. * */ @@ -49,7 +52,8 @@ int rpn2kwaqs(struct ccl_rpn_node *q, char **p) (*p)++; for (i = q->u.t.attr_list; i; i = i->next) { - sprintf(*p, "%d,%d", i->type, i->value); + sprintf(*p, "%d,%d%s", i->type, i->value, i->next ? + " " : ""); *p += strlen(*p); } strcat(*p, "]"); -- 1.7.10.4