libpurple/log.c

changeset 36089
c035b9a63457
parent 36086
5e1693f7c0d5
child 37148
50f361d39a1e
equal deleted inserted replaced
36088:4c386387f6f3 36089:c035b9a63457
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);

mercurial