]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
small tweak
authorBrian West <brian@freeswitch.org>
Wed, 2 May 2007 14:31:03 +0000 (14:31 +0000)
committerBrian West <brian@freeswitch.org>
Wed, 2 May 2007 14:31:03 +0000 (14:31 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5066 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/mod/endpoints/mod_alsa/mod_alsa.c

index 87e0bf658eefddbed762f61bdd23c23dfdfa6043..2457317d670a40b02e809b3f8206f4e1b6b9d4b1 100644 (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 {