SUBST: bad bug in plain text substitution: need to specify -1 if strlen not provided.
authorWilfried Goesgens <dothebart@citadel.org>
Tue, 25 Jun 2013 18:46:23 +0000 (20:46 +0200)
committerWilfried Goesgens <dothebart@citadel.org>
Tue, 25 Jun 2013 18:46:23 +0000 (20:46 +0200)
webcit/subst.c

index a4200f8230c2fe7b413697e4a1cf42d5538cefad..167a94d35999544270c0f0e84fb66931995c9331 100644 (file)
@@ -758,7 +758,7 @@ void StrBufAppendTemplateStr(StrBuf *Target,
                break;
 */
        default:
-               StrBufAppendBufPlain(Target, Source, 0, 0);
+               StrBufAppendBufPlain(Target, Source, -1, 0);
        }
 }