From: Anthony Minessale Date: Mon, 11 Aug 2008 23:58:42 +0000 (+0000) Subject: tweak X-Git-Tag: v1.0.2~1482 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=22bd6add200b20046d17d9aef311dd3c7b89478b;p=thirdparty%2Ffreeswitch.git tweak git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9253 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- diff --git a/src/mod/applications/mod_commands/mod_commands.c b/src/mod/applications/mod_commands/mod_commands.c index ae965ecf43..c01cb3d5f4 100644 --- a/src/mod/applications/mod_commands/mod_commands.c +++ b/src/mod/applications/mod_commands/mod_commands.c @@ -2024,7 +2024,7 @@ SWITCH_STANDARD_API(show_function) if (!strcasecmp(var, "text/plain")) { holder.http = NULL; } - } else { + } else if (holder.http) { stream->write_function(stream, "%s", "Content-Type: text/html\n\n"); }