]> granicus.if.org Git - php/commitdiff
Fixed ZTS build of fdf extension.
authorIlia Alshanetsky <iliaa@php.net>
Wed, 20 Apr 2005 22:51:45 +0000 (22:51 +0000)
committerIlia Alshanetsky <iliaa@php.net>
Wed, 20 Apr 2005 22:51:45 +0000 (22:51 +0000)
ext/fdf/fdf.c

index db3a88e6d7df3288ac9a0569b48592405db43889..fb12826bc70a55799f7f431ae8bfb8223388ecc8 100644 (file)
@@ -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;