From: Anthony Minessale Date: Fri, 19 Dec 2008 17:12:27 +0000 (+0000) Subject: remove unneeded fflush X-Git-Tag: v1.0.2~136 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=57950f2927c79c178a4cfad3838b2e2dffeb00ba;p=thirdparty%2Ffreeswitch.git remove unneeded fflush git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10883 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- diff --git a/src/switch_log.c b/src/switch_log.c index 4804f6dc94..5db4e9105d 100644 --- a/src/switch_log.c +++ b/src/switch_log.c @@ -376,9 +376,7 @@ SWITCH_DECLARE(void) switch_log_printf(switch_text_channel_t channel, const char switch_safe_free(data); switch_safe_free(new_fmt); - if (handle) { - fflush(handle); - } + } SWITCH_DECLARE(switch_status_t) switch_log_init(switch_memory_pool_t *pool, switch_bool_t colorize)