cvs: php-src /ext/tidy tidy.c
| From: | Derick Rethans | Date: | Fri, 16 Apr 2004 18:55:19 +0000 |
| Subject: | cvs: php-src /ext/tidy tidy.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-27094@lists.php.net to get a copy of this message | ||
derick Fri Apr 16 14:55:19 2004 EDT
Modified files:
/php-src/ext/tidy tidy.c
Log:
- Fix initializations
http://cvs.php.net/diff.php/php-src/ext/tidy/tidy.c?r1=1.44&r2=1.45&ty=u
Index: php-src/ext/tidy/tidy.c
diff -u php-src/ext/tidy/tidy.c:1.44 php-src/ext/tidy/tidy.c:1.45
--- php-src/ext/tidy/tidy.c:1.44 Fri Apr 16 11:46:41 2004
+++ php-src/ext/tidy/tidy.c Fri Apr 16 14:55:19 2004
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: tidy.c,v 1.44 2004/04/16 15:46:41 john Exp $ */
+/* $Id: tidy.c,v 1.45 2004/04/16 18:55:19 derick Exp $ */
#ifdef HAVE_CONFIG_H
#include "config.h"
@@ -955,7 +955,7 @@
php_info_print_table_start();
php_info_print_table_header(2, "Tidy support", "enabled");
php_info_print_table_row(2, "libTidy Release", (char *)tidyReleaseDate());
- php_info_print_table_row(2, "Extension Version", PHP_TIDY_MODULE_VERSION " ($Id:
tidy.c,v 1.44 2004/04/16 15:46:41 john Exp $)");
+ php_info_print_table_row(2, "Extension Version", PHP_TIDY_MODULE_VERSION " ($Id:
tidy.c,v 1.45 2004/04/16 18:55:19 derick Exp $)");
php_info_print_table_end();
DISPLAY_INI_ENTRIES();
@@ -1344,8 +1344,8 @@
TIDY_DOC_METHOD(__construct)
{
- char *inputfile, *enc = NULL;
- int input_len, enc_len = 0;
+ char *inputfile = NULL, *enc = NULL;
+ int input_len = 0, enc_len = 0;
zend_bool use_include_path = 0;
char *contents;
zval *options = NULL;