mirror of
https://github.com/cesanta/mongoose.git
synced 2025-08-06 05:26:15 +08:00
Use \r\n for log messages, for terminal apps
This commit is contained in:
parent
5c8e05a4fc
commit
03a94e3a6a
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user