mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-08-06 06:33:29 +00:00
Revert my change
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11072 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
f5194b66b0
commit
9bd272284d
@ -3882,6 +3882,11 @@ SWITCH_STANDARD_API(conf_api_main)
|
|||||||
http = switch_event_get_header(stream->param_event, "http-host");
|
http = switch_event_get_header(stream->param_event, "http-host");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (http) {
|
||||||
|
/* Output must be to a web browser */
|
||||||
|
stream->write_function(stream, "<pre>\n");
|
||||||
|
}
|
||||||
|
|
||||||
if (!(lbuf = strdup(cmd))) {
|
if (!(lbuf = strdup(cmd))) {
|
||||||
return status;
|
return status;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user