# | Line 112 | Line 112 | write_log(const char *message) | |
---|---|---|
112 | if (logFile == NULL) | |
113 | return; | |
114 | ||
115 | – | #ifdef _WIN32 |
116 | – | nbytes = snprintf(buf, sizeof(buf), "[%s] %s\r\n", |
117 | – | smalldate(CurrentTime), message); |
118 | – | #else |
115 | nbytes = snprintf(buf, sizeof(buf), "[%s] %s\n", | |
116 | smalldate(CurrentTime), message); | |
117 | < | #endif |
117 | > | |
118 | fbputs(buf, logFile, nbytes); | |
119 | } | |
120 |
– | Removed lines |
+ | Added lines |
< | Changed lines (old) |
> | Changed lines (new) |