cvs: php4 /ext/wddx wddx.c
| From: | Andrei Zmievski | Date: | Thu, 24 Jan 2002 16:18:51 +0000 |
| Subject: | cvs: php4 /ext/wddx wddx.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-9160@lists.php.net to get a copy of this message | ||
andrei Thu Jan 24 11:18:51 2002 EDT
Modified files:
/php4/ext/wddx wddx.c
Log:
Revert back to using <char> element for newlines.
Index: php4/ext/wddx/wddx.c
diff -u php4/ext/wddx/wddx.c:1.87 php4/ext/wddx/wddx.c:1.88
--- php4/ext/wddx/wddx.c:1.87 Tue Dec 11 10:30:51 2001
+++ php4/ext/wddx/wddx.c Thu Jan 24 11:18:50 2002
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: wddx.c,v 1.87 2001/12/11 15:30:51 sebastian Exp $ */
+/* $Id: wddx.c,v 1.88 2002/01/24 16:18:50 andrei Exp $ */
#include "php.h"
#include "php_wddx.h"
@@ -389,7 +389,7 @@
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);