]> granicus.if.org Git - php/commitdiff
Fixed parameter parsing for setIndent() method.
authorIlia Alshanetsky <iliaa@php.net>
Sat, 17 Dec 2005 20:04:57 +0000 (20:04 +0000)
committerIlia Alshanetsky <iliaa@php.net>
Sat, 17 Dec 2005 20:04:57 +0000 (20:04 +0000)
ext/xmlwriter/php_xmlwriter.c

index 0b014e9b7f636d8ac5009f4c5c9987f673f67372..cfb9f336194dd031c70b00ccc538782eaa9318e6 100644 (file)
@@ -366,7 +366,7 @@ PHP_FUNCTION(xmlwriter_set_indent)
        zval *this = getThis();
        
        if (this) {
-               if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "b", &pind, &indent) == FAILURE) {
+               if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "b", &indent) == FAILURE) {
                        return;
                }
                XMLWRITER_FROM_OBJECT(intern, this);