projects
/
citadel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0e0705a
)
Fixed incorrect byte count when writing XML entity references
author
Art Cancro
<ajc@citadel.org>
Wed, 23 Feb 2011 16:41:12 +0000
(11:41 -0500)
committer
Art Cancro
<ajc@citadel.org>
Wed, 23 Feb 2011 16:41:37 +0000
(11:41 -0500)
(cherry picked from commit
77fc8e79ee0edb8b4b67fc4dcb3ed1b32381cb52
)
citadel/modules/migrate/serv_migrate.c
patch
|
blob
|
history
diff --git
a/citadel/modules/migrate/serv_migrate.c
b/citadel/modules/migrate/serv_migrate.c
index ae149e078bb703dd763f508ed040ac44511b0123..b51ce403ec88466f7dcdd395af8da6e3e11b4a60 100644
(file)
--- a/
citadel/modules/migrate/serv_migrate.c
+++ b/
citadel/modules/migrate/serv_migrate.c
@@
-85,10
+85,10
@@
void xml_strout(char *str) {
while (*c != 0) {
if (*c == '\"') {
- client_write(""",
4
);
+ client_write(""",
6
);
}
else if (*c == '\'') {
- client_write("'",
4
);
+ client_write("'",
6
);
}
else if (*c == '<') {
client_write("<", 4);