From 088052c139a3821ba0b90f0219d86307fb621582 Mon Sep 17 00:00:00 2001 From: Wilfried Goesgens Date: Tue, 25 Jun 2013 20:46:23 +0200 Subject: [PATCH] SUBST: bad bug in plain text substitution: need to specify -1 if strlen not provided. --- webcit/subst.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webcit/subst.c b/webcit/subst.c index a4200f823..167a94d35 100644 --- a/webcit/subst.c +++ b/webcit/subst.c @@ -758,7 +758,7 @@ void StrBufAppendTemplateStr(StrBuf *Target, break; */ default: - StrBufAppendBufPlain(Target, Source, 0, 0); + StrBufAppendBufPlain(Target, Source, -1, 0); } } -- 2.30.2