From: Marcus Boerger Date: Thu, 5 Dec 2002 20:42:05 +0000 (+0000) Subject: MFH X-Git-Tag: php-4.3.0RC3~60 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a2aed8eff2fe4c247e9e3df138a2f8aaa1a42c40;p=php MFH --- diff --git a/ext/session/mod_mm.c b/ext/session/mod_mm.c index 0853a6b7a8..98f4b7760a 100644 --- a/ext/session/mod_mm.c +++ b/ext/session/mod_mm.c @@ -124,7 +124,7 @@ static ps_sd *ps_sd_new(ps_mm *data, const char *key) sd = mm_malloc(data->mm, sizeof(ps_sd) + keylen); if (!sd) { - TSRMlS_FETCH(); + TSRMLS_FETCH(); php_error_docref(NULL TSRMLS_CC, E_WARNING, "mm_malloc failed, avail %d, err %s", mm_available(data->mm), mm_error()); return NULL; diff --git a/ext/session/session.c b/ext/session/session.c index 29bc9466c2..8b6be415ab 100644 --- a/ext/session/session.c +++ b/ext/session/session.c @@ -98,7 +98,7 @@ static PHP_INI_MH(OnUpdateSaveHandler) #if 0 if(!PS(mod)) { - php_error_docref(E_ERROR, "Cannot find save handler %s", new_value); + php_error_docref(NULL TSRMLS_CC, E_ERROR, "Cannot find save handler %s", new_value); } #endif return SUCCESS; @@ -119,7 +119,7 @@ static PHP_INI_MH(OnUpdateSerializer) #if 0 if(!PS(serializer)) { - php_error_docref(E_ERROR, "Cannot find serialization handler %s", new_value); + php_error_docref(NULL TSRMLS_CC, E_ERROR, "Cannot find serialization handler %s", new_value); } #endif return SUCCESS;