From ec0e8763c676e67054d9813b043ba9c5384a57ca Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Thu, 28 Apr 2005 13:33:20 +0000 Subject: [PATCH] Fixed set_param_int (did not append properly) --- recctrl/xslt.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/recctrl/xslt.c b/recctrl/xslt.c index 421a307..370a169 100644 --- a/recctrl/xslt.c +++ b/recctrl/xslt.c @@ -1,4 +1,4 @@ -/* $Id: xslt.c,v 1.2 2005-04-28 12:34:21 adam Exp $ +/* $Id: xslt.c,v 1.3 2005-04-28 13:33:20 adam Exp $ Copyright (C) 1995-2005 Index Data ApS @@ -59,6 +59,8 @@ static void set_param_int(const char **params, const char *name, zint value, ODR odr) { char *quoted = odr_malloc(odr, 30); /* 25 digits enough for 2^64 */ + while (*params) + params++; sprintf(quoted, "'" ZINT_FORMAT "'", value); params[0] = name; params[1] = quoted; -- 1.7.10.4