projects
/
citadel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fcf28c4
)
* don't forget to append chars while expanding buffers
author
Wilfried Göesgens
<willi@citadel.org>
Mon, 17 Aug 2009 23:00:45 +0000
(23:00 +0000)
committer
Wilfried Göesgens
<willi@citadel.org>
Mon, 17 Aug 2009 23:00:45 +0000
(23:00 +0000)
libcitadel/lib/stringbuf.c
patch
|
blob
|
history
diff --git
a/libcitadel/lib/stringbuf.c
b/libcitadel/lib/stringbuf.c
index f6ec517674c64949394e864476ac630e3fa45225..0a88acbad55f50631ab809ebc31e0a4872489eec 100644
(file)
--- a/
libcitadel/lib/stringbuf.c
+++ b/
libcitadel/lib/stringbuf.c
@@
-930,7
+930,7
@@
long StrECMAEscAppend(StrBuf *Target, const StrBuf *Source, const char *PlainIn)
eptr = Target->buf + Target->BufSize - 3;
bptr = Target->buf + Target->BufUsed;
}
-
else
if (*aptr == '"') {
+ if (*aptr == '"') {
*bptr = '\\';
bptr ++;
*bptr = '"';