]> granicus.if.org Git - php/commitdiff
fix arguments order (just in the sake of purity)
authorAntony Dovgal <tony2001@php.net>
Tue, 26 Dec 2006 12:29:32 +0000 (12:29 +0000)
committerAntony Dovgal <tony2001@php.net>
Tue, 26 Dec 2006 12:29:32 +0000 (12:29 +0000)
ext/xml/xml.c

index 89621d6eb83fd417624d2f9ff0737faa0179e2cd..a2683b903db832c9692e1e4db62d28992dcc4d5f 100644 (file)
@@ -1162,7 +1162,7 @@ static void php_xml_parser_create_impl(INTERNAL_FUNCTION_PARAMETERS, int ns_supp
                ns_param = ":";
        }
 
-       parser = ecalloc(sizeof(xml_parser), 1);
+       parser = ecalloc(1, sizeof(xml_parser));
        parser->parser = XML_ParserCreate_MM((auto_detect ? NULL : encoding),
                                          &php_xml_mem_hdlrs, ns_param);