]> granicus.if.org Git - php/commitdiff
Revert back to using <char> element for newlines.
authorAndrei Zmievski <andrei@php.net>
Thu, 24 Jan 2002 16:18:50 +0000 (16:18 +0000)
committerAndrei Zmievski <andrei@php.net>
Thu, 24 Jan 2002 16:18:50 +0000 (16:18 +0000)
ext/wddx/wddx.c

index a17dec4f8e707d49bdd9b5765be43580e2c503d3..c7e31dad4a5469a566d19432dccd6114020c876b 100644 (file)
@@ -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);