Revert my change

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11072 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Brian West 2009-01-05 16:54:15 +00:00
parent f5194b66b0
commit 9bd272284d
1 changed files with 5 additions and 0 deletions

View File

@ -3882,6 +3882,11 @@ SWITCH_STANDARD_API(conf_api_main)
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))) {
return status;
}