From: Sebastian Hammer Date: Thu, 16 Feb 1995 15:14:53 +0000 (+0000) Subject: Fixed KWAQS-generator X-Git-Url: http://sru.miketaylor.org.uk/cgi-bin?a=commitdiff_plain;h=2f21d298f05796bd90d51574c242f2634bed9902;p=egate.git Fixed KWAQS-generator --- 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, "]");