diff options
| author | Antony Dovgal <tony2001@php.net> | 2006-12-04 15:58:48 +0000 |
|---|---|---|
| committer | Antony Dovgal <tony2001@php.net> | 2006-12-04 15:58:48 +0000 |
| commit | bcf457d828f0634b8c3fbcd4236c64f3b06e60b1 (patch) | |
| tree | 6c127df72d17d20c1b33157e6c106e3518a6aa35 /ext/session | |
| parent | 35f78f221b9213f85861374d032667efc97e6486 (diff) | |
| download | php-git-bcf457d828f0634b8c3fbcd4236c64f3b06e60b1.tar.gz | |
MFH: fix retval type
Diffstat (limited to 'ext/session')
| -rw-r--r-- | ext/session/session.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/session/session.c b/ext/session/session.c index 668603b5ea..3abc8a3785 100644 --- a/ext/session/session.c +++ b/ext/session/session.c @@ -276,7 +276,7 @@ PHP_MINFO_FUNCTION(session); static void php_rinit_session_globals(TSRMLS_D); static void php_rshutdown_session_globals(TSRMLS_D); -static zend_bool php_session_destroy(TSRMLS_D); +static int php_session_destroy(TSRMLS_D); zend_module_entry session_module_entry = { STANDARD_MODULE_HEADER, @@ -1304,9 +1304,9 @@ PHPAPI void php_session_start(TSRMLS_D) } } -static zend_bool php_session_destroy(TSRMLS_D) +static int php_session_destroy(TSRMLS_D) { - zend_bool retval = SUCCESS; + int retval = SUCCESS; if (PS(session_status) != php_session_active) { php_error_docref(NULL TSRMLS_CC, E_WARNING, "Trying to destroy uninitialized session"); |
