]> granicus.if.org Git - php/commitdiff
correct code that is guarded by "#if 0"
authorMarcus Boerger <helly@php.net>
Thu, 5 Dec 2002 20:41:55 +0000 (20:41 +0000)
committerMarcus Boerger <helly@php.net>
Thu, 5 Dec 2002 20:41:55 +0000 (20:41 +0000)
ext/session/session.c

index 29bc9466c2c213aaca964139a45f4a4a2762d1a9..8b6be415abfc3d224e0de2f7bc18a35aaece96ba 100644 (file)
@@ -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;