cvs: php4 /ext/domxml php_domxml.c
| From: | Christian Stocker | Date: | Fri, 03 May 2002 09:51:06 +0000 |
| Subject: | cvs: php4 /ext/domxml php_domxml.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-11653@lists.php.net to get a copy of this message | ||
chregu Fri May 3 05:51:06 2002 EDT
Modified files:
/php4/ext/domxml php_domxml.c
Log:
WS fixes
Index: php4/ext/domxml/php_domxml.c
diff -u php4/ext/domxml/php_domxml.c:1.147 php4/ext/domxml/php_domxml.c:1.148
--- php4/ext/domxml/php_domxml.c:1.147 Fri May 3 05:46:27 2002
+++ php4/ext/domxml/php_domxml.c Fri May 3 05:51:06 2002
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: php_domxml.c,v 1.147 2002/05/03 09:46:27 chregu Exp $ */
+/* $Id: php_domxml.c,v 1.148 2002/05/03 09:51:06 chregu Exp $ */
/* TODO
* - Support Notation Nodes
@@ -3201,11 +3201,11 @@
char *encoding;
- DOMXML_PARAM_THREE(docp, id, le_domxmldocp,"|ls",
&format,&encoding,&encoding_len);
+ DOMXML_PARAM_THREE(docp, id, le_domxmldocp, "|ls", &format, &encoding,
&encoding_len);
if (format) {
xmlKeepBlanksDefault(0);
if (encoding_len) {
- xmlDocDumpFormatMemoryEnc(docp, &mem, &size, encoding, format );
+ xmlDocDumpFormatMemoryEnc(docp, &mem, &size, encoding, format);
} else {
xmlDocDumpFormatMemory(docp, &mem, &size, format);
}
@@ -3237,13 +3237,13 @@
DOMXML_PARAM_FOUR(docp, id, le_domxmldocp, "s|ll", &file, &file_len,
&compressmode, &format);
- xmlSetCompressMode (compressmode);
+ xmlSetCompressMode(compressmode);
if (format) {
xmlKeepBlanksDefault(0);
- bytes = xmlSaveFormatFile(file,docp,format);
+ bytes = xmlSaveFormatFile(file, docp, format);
} else {
- bytes = xmlSaveFile(file,docp);
+ bytes = xmlSaveFile(file, docp);
}
if (bytes == -1) {
@@ -3265,7 +3265,7 @@
int level = 0;
int format = 0;
- DOMXML_PARAM_THREE(docp, id, le_domxmldocp,"o|ll",&nodep,&format,&level);
+ DOMXML_PARAM_THREE(docp, id, le_domxmldocp, "o|ll", &nodep, &format,
&level);
DOMXML_GET_OBJ(elementp, nodep, le_domxmlnodep);
@@ -3280,7 +3280,7 @@
RETURN_FALSE;
}
- xmlNodeDump(buf, docp, elementp,level,format);
+ xmlNodeDump(buf, docp, elementp, level, format);
mem = (xmlChar*) xmlBufferContent(buf);