]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
change log message to protect the innocent
authorAnthony Minessale <anthony.minessale@gmail.com>
Fri, 15 Aug 2008 21:49:43 +0000 (21:49 +0000)
committerAnthony Minessale <anthony.minessale@gmail.com>
Fri, 15 Aug 2008 21:49:43 +0000 (21:49 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9306 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/switch_ivr_bridge.c

index 49ff9ff505b45f03b99719cb35fe857a6d2d439a..40cd74cf8974380b7f1f4118dcdacb20d5762975 100644 (file)
@@ -272,13 +272,15 @@ static void *audio_bridge_thread(switch_thread_t *thread, void *obj)
 
                        if (status != SWITCH_STATUS_BREAK && !switch_channel_test_flag(chan_a, CF_HOLD)) {
                                if (switch_core_session_write_frame(session_b, read_frame, SWITCH_IO_FLAG_NONE, stream_id) != SWITCH_STATUS_SUCCESS) {
-                                       switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, "write: %s Bad Frame....[%u] Bubye!\n",
-                                                                         switch_channel_get_name(chan_b), read_frame->datalen);
+                                       switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, 
+                                                                         "%s ending bridge by request from write function\n", switch_channel_get_name(chan_b));
+                                                                         
+                                       
                                        goto end_of_bridge_loop;
                                }
                        }
                } else {
-                       switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, "read: %s Bad Frame.... Bubye!\n", switch_channel_get_name(chan_a));
+                       switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, "%s ending bridge by request from read function\n", switch_channel_get_name(chan_a));
                        goto end_of_bridge_loop;
                }
        }