FS-4543 --resolve thanks Peter

This commit is contained in:
Jeff Lenk 2012-08-17 19:31:47 -05:00
parent e399c69765
commit 0807b39c8d
2 changed files with 7 additions and 2 deletions

View File

@ -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
}

View File

@ -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,