chregu          Sat Nov 29 08:31:52 2003 EDT

  Modified files:              
    /php-src/ext/xsl    php_xsl.c 
  Log:
  follow coding standards.
  
  
Index: php-src/ext/xsl/php_xsl.c
diff -u php-src/ext/xsl/php_xsl.c:1.11 php-src/ext/xsl/php_xsl.c:1.12
--- php-src/ext/xsl/php_xsl.c:1.11      Sat Nov 29 08:07:20 2003
+++ php-src/ext/xsl/php_xsl.c   Sat Nov 29 08:31:51 2003
@@ -16,7 +16,7 @@
   +----------------------------------------------------------------------+
 */
 
-/* $Id: php_xsl.c,v 1.11 2003/11/29 13:07:20 chregu Exp $ */
+/* $Id: php_xsl.c,v 1.12 2003/11/29 13:31:51 chregu Exp $ */
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
@@ -262,8 +262,7 @@
                        obj = (dom_object *)zend_object_store_get_object(retval 
TSRMLS_CC);
                        nodep = dom_object_get_node(obj);
                        valuePush(ctxt, xmlXPathNewNodeSet(nodep));
-               }
-               else if (retval->type == IS_BOOL) {
+               } else if (retval->type == IS_BOOL) {
                        valuePush(ctxt, xmlXPathNewBoolean(retval->value.lval));
                } else {
                        convert_to_string_ex(&retval);
@@ -278,14 +277,12 @@
        efree(args);
 }
 
-static void
-xsl_ext_function_string_php(xmlXPathParserContextPtr ctxt, int nargs)
+static void xsl_ext_function_string_php(xmlXPathParserContextPtr ctxt, int nargs)
 {
        xsl_ext_function_php(ctxt, nargs, 1);
 }
 
-static void
-xsl_ext_function_object_php(xmlXPathParserContextPtr ctxt, int nargs)
+static void xsl_ext_function_object_php(xmlXPathParserContextPtr ctxt, int nargs)
 {
        xsl_ext_function_php(ctxt, nargs, 2);
 }
@@ -369,7 +366,6 @@
        UNREGISTER_INI_ENTRIES();
        */
        xsltCleanupGlobals();
-       //xmlMemoryDump();
 
        return SUCCESS;
 }

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to