]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
tweak
authorAnthony Minessale <anthony.minessale@gmail.com>
Mon, 11 Aug 2008 23:58:42 +0000 (23:58 +0000)
committerAnthony Minessale <anthony.minessale@gmail.com>
Mon, 11 Aug 2008 23:58:42 +0000 (23:58 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9253 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/mod/applications/mod_commands/mod_commands.c

index ae965ecf4371f0ccc7b8b5adf2ad8aea44057fd3..c01cb3d5f4709051f414b608173300a2ce897a53 100644 (file)
@@ -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");
                }