提交 6f2c1d76 authored 作者: Jeff Lenk's avatar Jeff Lenk 提交者: Ken Rice

FS-4543 --resolve thanks Peter

上级 a82b28c3
......@@ -925,6 +925,9 @@ static void print_banner(FILE *stream)
{
#include <cc.h>
#ifdef WIN32
fprintf(stream, "%s%s\n%s\n", banner, cc, inf);
#else
fprintf(stream,
"%s%s%s%s%s%s\n%s\n",
ESL_SEQ_DEFAULT_COLOR,
......@@ -932,8 +935,6 @@ static void print_banner(FILE *stream)
banner,
cc, ESL_SEQ_DEFAULT_COLOR, inf);
#ifndef WIN32
fprintf(stream, "%s", output_text_color);
#endif
}
......
......@@ -1973,11 +1973,15 @@ SWITCH_DECLARE(switch_status_t) switch_core_init_and_modload(switch_core_flag_t
switch_event_fire(&event);
}
#ifdef WIN32
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_CONSOLE, "%s%s\n\n", switch_core_banner(), cc);
#else
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_CONSOLE, "%s%s%s%s%s%s\n\n",
SWITCH_SEQ_DEFAULT_COLOR,
SWITCH_SEQ_FYELLOW, SWITCH_SEQ_BBLUE,
switch_core_banner(),
cc, SWITCH_SEQ_DEFAULT_COLOR);
#endif
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_CONSOLE,
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论