From: Marcus Boerger Date: Thu, 5 Dec 2002 20:41:55 +0000 (+0000) Subject: correct code that is guarded by "#if 0" X-Git-Tag: RELEASE_1_0b3~160 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3cf581b1b3dbd992669ae3c8f80f71db576a2a9d;p=php correct code that is guarded by "#if 0" --- 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;