]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
Correct display of last write timestamp
authorTravis Cross <tc@traviscross.com>
Sat, 19 Apr 2014 01:44:40 +0000 (01:44 +0000)
committerTravis Cross <tc@traviscross.com>
Sat, 19 Apr 2014 01:53:00 +0000 (01:53 +0000)
On start DTMF packets we were showing the last write timestamp as a
signed value when it's an unsigned value, which could result in it
appearing incongruous with later packets where the value was displayed
correctly.

src/switch_rtp.c

index acc99466eb01f8ae2727ab9a73948521779233b3..375afee12b49365725fa8bcd3fd1ca9b3e663845 100644 (file)
@@ -2861,7 +2861,7 @@ static void do_2833(switch_rtp_t *rtp_session, switch_core_session_t *session)
                        rtp_session->stats.outbound.raw_bytes += wrote;
                        rtp_session->stats.outbound.dtmf_packet_count++;
                        
-                       switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(session), SWITCH_LOG_DEBUG, "Send start packet for [%c] ts=%u dur=%d/%d/%d seq=%d lw=%d\n",
+                       switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(session), SWITCH_LOG_DEBUG, "Send start packet for [%c] ts=%u dur=%d/%d/%d seq=%d lw=%u\n",
                                                          rtp_session->dtmf_data.out_digit,
                                                          rtp_session->dtmf_data.timestamp_dtmf,
                                                          rtp_session->dtmf_data.out_digit_sofar,