diff options
author | John Coggeshall <john@php.net> | 2003-09-25 09:32:55 +0000 |
---|---|---|
committer | John Coggeshall <john@php.net> | 2003-09-25 09:32:55 +0000 |
commit | bca08dabb4fbf64c0ac3007fa43693b7551384a2 (patch) | |
tree | bd9b37701d6e5400d01c3fa7b4e1d4d5d6bdb8fd | |
parent | 33061ef1b91a7412cbcae9ae42ca08977b4817a4 (diff) | |
download | php-git-bca08dabb4fbf64c0ac3007fa43693b7551384a2.tar.gz |
Fixed a --enable-maintainer-zts glitch where TSRMLS_DC was being used
unnecessarily.
-rw-r--r-- | ext/tidy/examples/dumpit.php | 1 | ||||
-rw-r--r-- | ext/tidy/tidy.c | 6 |
2 files changed, 4 insertions, 3 deletions
diff --git a/ext/tidy/examples/dumpit.php b/ext/tidy/examples/dumpit.php index e0cda5e904..e77b7b9323 100644 --- a/ext/tidy/examples/dumpit.php +++ b/ext/tidy/examples/dumpit.php @@ -88,5 +88,6 @@ } } + echo tidy_get_output(); ?>
\ No newline at end of file diff --git a/ext/tidy/tidy.c b/ext/tidy/tidy.c index 22111d8b72..0714346223 100644 --- a/ext/tidy/tidy.c +++ b/ext/tidy/tidy.c @@ -13,7 +13,7 @@ | license@php.net so we can mail you a copy immediately. | +----------------------------------------------------------------------+ | Author: John Coggeshall <john@php.net> | - | Ilia Alshanetsky <ilia@php.net> | + | Ilia Alshanetsky <ilia@php.net> | +----------------------------------------------------------------------+ */ @@ -238,7 +238,7 @@ static char *php_tidy_file_to_mem(char *filename, zend_bool use_include_path TSR return data; } -static void php_tidy_quick_repair(INTERNAL_FUNCTION_PARAMETERS, zend_bool is_file TSRMLS_DC) +static void php_tidy_quick_repair(INTERNAL_FUNCTION_PARAMETERS, zend_bool is_file) { char *data=NULL, *cfg_file=NULL, *arg1; int cfg_file_len, arg1_len; @@ -486,7 +486,7 @@ PHP_FUNCTION(tidy_clean_repair) Repair a string using an optionally provided configuration file */ PHP_FUNCTION(tidy_repair_string) { - php_tidy_quick_repair(INTERNAL_FUNCTION_PARAM_PASSTHRU, 0 TSRMLS_CC); + php_tidy_quick_repair(INTERNAL_FUNCTION_PARAM_PASSTHRU, 0); } /* }}} */ |