From: Ilia Alshanetsky Date: Wed, 20 Apr 2005 22:51:45 +0000 (+0000) Subject: Fixed ZTS build of fdf extension. X-Git-Tag: php-5.0.1b1~461 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4eccd5df707fc87ae956e3fc397f8e540a385c14;p=php Fixed ZTS build of fdf extension. --- diff --git a/ext/fdf/fdf.c b/ext/fdf/fdf.c index db3a88e6d7..fb12826bc7 100644 --- a/ext/fdf/fdf.c +++ b/ext/fdf/fdf.c @@ -145,7 +145,7 @@ PHP_MINIT_FUNCTION(fdf) le_fdf = zend_register_list_destructors_ex(phpi_FDFClose, NULL, "fdf", module_number); /* add handler for Acrobat FDF form post requests */ - sapi_register_post_entry(&php_fdf_post_entry); + sapi_register_post_entry(&php_fdf_post_entry TSRMLS_CC); /* Constants used by fdf_set_opt() */ @@ -215,7 +215,7 @@ PHP_MINFO_FUNCTION(fdf) PHP_MSHUTDOWN_FUNCTION(fdf) { /* remove handler for Acrobat FDF form post requests */ - sapi_unregister_post_entry(&php_fdf_post_entry); + sapi_unregister_post_entry(&php_fdf_post_entry TSRMLS_CC); #ifdef PHP_WIN32 return SUCCESS;