diff options
author | Andrei Zmievski <andrei@php.net> | 2002-01-24 16:18:50 +0000 |
---|---|---|
committer | Andrei Zmievski <andrei@php.net> | 2002-01-24 16:18:50 +0000 |
commit | c330a4f9ce453017ae557ed4eff95304e25fc3be (patch) | |
tree | 7bd2594a5e9a982d77364f1436bf1bd9247ab631 /ext/wddx | |
parent | 7eebc643476c32e18ebd0009ea32655e592247ac (diff) | |
download | php-git-c330a4f9ce453017ae557ed4eff95304e25fc3be.tar.gz |
Revert back to using <char> element for newlines.
Diffstat (limited to 'ext/wddx')
-rw-r--r-- | ext/wddx/wddx.c | 2 |
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); |