]> granicus.if.org Git - php/commitdiff
MFH: fix gcc-2.95 problems (reported by Adam Maccabee Trachtenberg)
authorAntony Dovgal <tony2001@php.net>
Wed, 11 May 2005 20:04:39 +0000 (20:04 +0000)
committerAntony Dovgal <tony2001@php.net>
Wed, 11 May 2005 20:04:39 +0000 (20:04 +0000)
ext/soap/soap.c

index 35b74fa518f6279525602bd5daef9c2f27b4561e..64f6aec0c91e51ff232167cd4b59e1ee422b7722 100644 (file)
@@ -1842,10 +1842,10 @@ static void soap_server_fault(char* code, char* string, char *actor, zval* detai
 
 static void soap_error_handler(int error_num, const char *error_filename, const uint error_lineno, const char *format, va_list args)
 {
-       TSRMLS_FETCH();
        zend_bool _old_in_compilation = CG(in_compilation);
        zend_bool _old_in_execution = EG(in_execution);
        zend_execute_data *_old_current_execute_data = EG(current_execute_data);
+       TSRMLS_FETCH();
 
        if (!SOAP_GLOBAL(use_soap_error_handler)) {
                old_error_handler(error_num, error_filename, error_lineno, format, args);