cvs: php4 /ext/session session.c
| From: | Sascha Schumann | Date: | Mon, 10 Jul 2000 08:35:03 +0000 |
| Subject: | cvs: php4 /ext/session session.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-696@lists.php.net to get a copy of this message | ||
sas Mon Jul 10 01:35:03 2000 EDT
Modified files:
/php4/ext/session session.c
Log:
Also output the name of the save_handler when reporting a failed write
attempt.
Index: php4/ext/session/session.c
diff -u php4/ext/session/session.c:1.153 php4/ext/session/session.c:1.154
--- php4/ext/session/session.c:1.153 Sun Jul 9 03:31:47 2000
+++ php4/ext/session/session.c Mon Jul 10 01:35:03 2000
@@ -507,9 +507,12 @@
ret = PS(mod)->write(&PS(mod_data), PS(id), "", 0);
if (ret == FAILURE)
- php_error(E_WARNING, "Failed to write session data. Please check that "
- "the current setting of session.save_path is correct (%s)",
+ php_error(E_WARNING, "Failed to write session data (%s). Please "
+ "verify that the current setting of session.save_path "
+ "is correct (%s)",
+ PS(mod)->name,
PS(save_path));
+
PS(mod)->close(&PS(mod_data));
}