mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-16 16:58:35 +00:00
tweak
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9253 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
a17da62106
commit
22bd6add20
@ -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");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user