SUBST: bad bug in plain text substitution: need to specify -1 if strlen not provided.
[citadel.git] / 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);
        }
 }