]> granicus.if.org Git - php/commitdiff
Also output the name of the save_handler when reporting a failed write
authorSascha Schumann <sas@php.net>
Mon, 10 Jul 2000 08:35:03 +0000 (08:35 +0000)
committerSascha Schumann <sas@php.net>
Mon, 10 Jul 2000 08:35:03 +0000 (08:35 +0000)
attempt.

ext/session/session.c

index 2861feb58c28dec627d3fa29d5180e6743d5ba5a..24bad6fad9a9e124baf43817712fa487f91ac780 100644 (file)
@@ -507,10 +507,13 @@ static void _php_session_save_current_state(PSLS_D)
                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));
 }