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