forked from Mirrors/freeswitch
small tweak
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5063 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
e35e9b0a25
commit
83a8234352
|
@ -1856,11 +1856,11 @@ static switch_status_t pa_cmd(char *cmd, switch_core_session_t *isession, switch
|
||||||
}
|
}
|
||||||
|
|
||||||
if (func) {
|
if (func) {
|
||||||
if (stream->event) {
|
if (http) {
|
||||||
stream->write_function(stream, "<pre>");
|
stream->write_function(stream, "<pre>");
|
||||||
}
|
}
|
||||||
status = func(&argv[lead], argc - lead, stream);
|
status = func(&argv[lead], argc - lead, stream);
|
||||||
if (stream->event) {
|
if (http) {
|
||||||
stream->write_function(stream, "\n\n</pre>");
|
stream->write_function(stream, "\n\n</pre>");
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue