From: Jeff Lenk Date: Sat, 18 Aug 2012 00:31:47 +0000 (-0500) Subject: FS-4543 --resolve thanks Peter X-Git-Tag: v1.2.3^2~226 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0807b39c8d341ae667cd80c52a628121e88d17c2;p=thirdparty%2Ffreeswitch.git FS-4543 --resolve thanks Peter --- diff --git a/libs/esl/fs_cli.c b/libs/esl/fs_cli.c index 71579c4a7b..a984327963 100644 --- a/libs/esl/fs_cli.c +++ b/libs/esl/fs_cli.c @@ -925,6 +925,9 @@ static void print_banner(FILE *stream) { #include +#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 } diff --git a/src/switch_core.c b/src/switch_core.c index 5872a14c95..49b84f998a 100644 --- a/src/switch_core.c +++ b/src/switch_core.c @@ -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,