Closes handle to the chat log file */
| 60 | |
| 61 | /* Closes handle to the chat log file */ |
| 62 | static void CloseLogFile(void) { |
| 63 | cc_result res; |
| 64 | if (!logStream.meta.file) return; |
| 65 | |
| 66 | res = logStream.Close(&logStream); |
| 67 | if (res) { Logger_SysWarn2(res, "closing", &logPath); } |
| 68 | } |
| 69 | |
| 70 | /* Whether the given character is an allowed in a log filename */ |
| 71 | static cc_bool AllowedLogNameChar(char c) { |
no test coverage detected