| 940 { |
940 { |
| 941 purple_debug(PURPLE_DEBUG_ERROR, "log", |
941 purple_debug(PURPLE_DEBUG_ERROR, "log", |
| 942 "Could not create log file %s\n", path); |
942 "Could not create log file %s\n", path); |
| 943 |
943 |
| 944 if (log->conv != NULL) |
944 if (log->conv != NULL) |
| 945 purple_conversation_write(log->conv, NULL, _("Logging of this conversation failed."), |
945 purple_conversation_write_system_message(log->conv, |
| 946 PURPLE_MESSAGE_ERROR, time(NULL)); |
946 _("Logging of this conversation failed."), |
| |
947 PURPLE_MESSAGE_ERROR); |
| 947 |
948 |
| 948 g_free(path); |
949 g_free(path); |
| 949 return; |
950 return; |
| 950 } |
951 } |
| 951 g_free(path); |
952 g_free(path); |