summaryrefslogtreecommitdiff
path: root/ext/wddx
diff options
context:
space:
mode:
authorAndrei Zmievski <andrei@php.net>2002-01-24 16:18:50 +0000
committerAndrei Zmievski <andrei@php.net>2002-01-24 16:18:50 +0000
commitc330a4f9ce453017ae557ed4eff95304e25fc3be (patch)
tree7bd2594a5e9a982d77364f1436bf1bd9247ab631 /ext/wddx
parent7eebc643476c32e18ebd0009ea32655e592247ac (diff)
downloadphp-git-c330a4f9ce453017ae557ed4eff95304e25fc3be.tar.gz
Revert back to using <char> element for newlines.
Diffstat (limited to 'ext/wddx')
-rw-r--r--ext/wddx/wddx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/wddx/wddx.c b/ext/wddx/wddx.c
index a17dec4f8e..c7e31dad4a 100644
--- a/ext/wddx/wddx.c
+++ b/ext/wddx/wddx.c
@@ -389,7 +389,7 @@ static void php_wddx_serialize_string(wddx_packet *packet, zval *var)
break;
default:
- if (iscntrl((int)*p) && *p != '\n') {
+ if (iscntrl((int)*p)) {
FLUSH_BUF();
sprintf(control_buf, WDDX_CHAR, *p);
php_wddx_add_chunk(packet, control_buf);