Skip to content

Commit 723a628

Browse files
committed
Tidy output handler
1 parent 9afd36f commit 723a628

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

ext/tidy/tidy.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ static int _php_tidy_apply_config_array(TidyDoc doc, HashTable *ht_options);
147147
static PHP_INI_MH(php_tidy_set_clean_output);
148148
static void php_tidy_clean_output_start(const char *name, size_t name_len);
149149
static php_output_handler *php_tidy_output_handler_init(const char *handler_name, size_t handler_name_len, size_t chunk_size, int flags);
150-
static int php_tidy_output_handler(void **nothing, php_output_context *output_context);
150+
static zend_result php_tidy_output_handler(void **nothing, php_output_context *output_context);
151151

152152
static PHP_MINIT_FUNCTION(tidy);
153153
static PHP_MSHUTDOWN_FUNCTION(tidy);
@@ -953,9 +953,9 @@ static php_output_handler *php_tidy_output_handler_init(const char *handler_name
953953
return php_output_handler_create_internal(handler_name, handler_name_len, php_tidy_output_handler, chunk_size, flags);
954954
}
955955

956-
static int php_tidy_output_handler(void **nothing, php_output_context *output_context)
956+
static zend_result php_tidy_output_handler(void **nothing, php_output_context *output_context)
957957
{
958-
int status = FAILURE;
958+
zend_result status = FAILURE;
959959
TidyDoc doc;
960960
TidyBuffer inbuf, outbuf, errbuf;
961961

0 commit comments

Comments
 (0)