From 83a82343524c9408cb15b4c23f3b793818244126 Mon Sep 17 00:00:00 2001 From: Brian West Date: Wed, 2 May 2007 03:07:14 +0000 Subject: [PATCH] small tweak git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5063 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- src/mod/endpoints/mod_portaudio/mod_portaudio.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mod/endpoints/mod_portaudio/mod_portaudio.c b/src/mod/endpoints/mod_portaudio/mod_portaudio.c index 0bf3e70d85..2b8d171069 100644 --- a/src/mod/endpoints/mod_portaudio/mod_portaudio.c +++ b/src/mod/endpoints/mod_portaudio/mod_portaudio.c @@ -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, "
");
 		}
 		status = func(&argv[lead], argc - lead, stream);
-		if (stream->event) {
+		if (http) {
 			stream->write_function(stream, "\n\n
"); } } else {