helly Thu Dec 5 15:41:55 2002 EDT
Modified files:
/php4/ext/session session.c
Log:
correct code that is guarded by "#if 0"
Index: php4/ext/session/session.c
diff -u php4/ext/session/session.c:1.339 php4/ext/session/session.c:1.340
--- php4/ext/session/session.c:1.339 Thu Dec 5 15:13:35 2002
+++ php4/ext/session/session.c Thu Dec 5 15:41:55 2002
@@ -17,7 +17,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: session.c,v 1.339 2002/12/05 20:13:35 helly Exp $ */
+/* $Id: session.c,v 1.340 2002/12/05 20:41:55 helly Exp $ */
#ifdef HAVE_CONFIG_H
#include "config.h"
@@ -98,7 +98,7 @@
#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 @@
#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;
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php