From: Zeev Suraski Date: Sat, 28 Jul 2001 12:02:42 +0000 (+0000) Subject: Some more fixes X-Git-Tag: PRE_ENGINE2_SPLIT~240 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=63829bc9492a21ede9fc72dd2679529d97748ac0;p=php Some more fixes --- diff --git a/sapi/apache/php_apache.c b/sapi/apache/php_apache.c index cfc63ae639..15aa2a7703 100644 --- a/sapi/apache/php_apache.c +++ b/sapi/apache/php_apache.c @@ -123,10 +123,7 @@ zend_module_entry apache_module_entry = { Get and set Apache request notes */ PHP_FUNCTION(apache_child_terminate) { -#ifndef MULTITHREAD - ATSRMLS_FETCH(); - TSRMLS_FETCH(); - +#ifndef MULTITREAD if (AP(terminate_child)) { ap_child_terminate( ((request_rec *)SG(server_context)) ); } else { /* tell them to get lost! */