提交 22bd6add authored 作者: Anthony Minessale's avatar Anthony Minessale

tweak

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9253 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 a17da621
...@@ -2024,7 +2024,7 @@ SWITCH_STANDARD_API(show_function) ...@@ -2024,7 +2024,7 @@ SWITCH_STANDARD_API(show_function)
if (!strcasecmp(var, "text/plain")) { if (!strcasecmp(var, "text/plain")) {
holder.http = NULL; holder.http = NULL;
} }
} else { } else if (holder.http) {
stream->write_function(stream, "%s", "Content-Type: text/html\n\n"); stream->write_function(stream, "%s", "Content-Type: text/html\n\n");
} }
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论