diff options
| author | Zeev Suraski <zeev@php.net> | 2001-07-30 08:24:42 +0000 |
|---|---|---|
| committer | Zeev Suraski <zeev@php.net> | 2001-07-30 08:24:42 +0000 |
| commit | c43806f4152c3ff908c7ead039daf5e163700f0e (patch) | |
| tree | 8e6eb9e2aef084f04a7bfeb7269dd4d5186ac0c4 /main/main.c | |
| parent | 4187439cfffdbb2573453ea41a3c344632405f47 (diff) | |
| download | php-git-c43806f4152c3ff908c7ead039daf5e163700f0e.tar.gz | |
Zend compatibility patch
Diffstat (limited to 'main/main.c')
| -rw-r--r-- | main/main.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/main/main.c b/main/main.c index 92dcd6a4d2..bfe8b67d0c 100644 --- a/main/main.c +++ b/main/main.c @@ -152,7 +152,7 @@ static PHP_INI_MH(OnUpdateTimeout) /* Don't set a timeout on startup, only per-request */ return SUCCESS; } - zend_unset_timeout(); + zend_unset_timeout(TSRMLS_C); zend_set_timeout(EG(timeout_seconds)); return SUCCESS; } @@ -484,7 +484,7 @@ PHP_FUNCTION(set_time_limit) } convert_to_long_ex(new_timeout); - zend_unset_timeout(); + zend_unset_timeout(TSRMLS_C); zend_set_timeout(Z_LVAL_PP(new_timeout)); } /* }}} */ @@ -708,7 +708,7 @@ void php_request_shutdown(void *dummy) } zend_end_try(); zend_try { - zend_unset_timeout(); + zend_unset_timeout(TSRMLS_C); } zend_end_try(); } /* }}} */ |
