small tweak

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5063 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Brian West 2007-05-02 03:07:14 +00:00
parent e35e9b0a25
commit 83a8234352
1 changed files with 2 additions and 2 deletions

View File

@ -1856,11 +1856,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 {