small tweak

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5066 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Brian West 2007-05-02 14:31:03 +00:00
parent 3b638eabf0
commit 5813ef7d94
1 changed files with 2 additions and 2 deletions

View File

@ -1622,11 +1622,11 @@ static switch_status_t pa_cmd(char *cmd, switch_core_session_t *isession, switch
}
if (func) {
if (stream->event) {
if (http) {
stream->write_function(stream, "<pre>");
}
status = func(&argv[lead], argc - lead, stream);
if (stream->event) {
if (http) {
stream->write_function(stream, "\n\n</pre>");
}
} else {