mirror of
https://github.com/cesanta/mongoose.git
synced 2026-11-14 19:03:20 +00:00
Use \r\n for log messages, for terminal apps
This commit is contained in:
1 parent
5c8e05a4fc
commit
03a94e3a6a
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -2768,7 +2768,7 @@ void mg_log(const char *fmt, ...) {
|
||||
va_start(ap, fmt);
|
||||
mg_vxprintf(s_log_func, s_log_func_param, fmt, &ap);
|
||||
va_end(ap);
|
||||
logc((unsigned char) '\n');
|
||||
logs("\r\n", 2);
|
||||
}
|
||||
|
||||
static unsigned char nibble(unsigned c) {
|
||||
|
||||
Reference in new issue
Block a user