]> 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:48:49 +0000 (01:48 +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 44afd1bedc95054148af92df7324847d3b205366..70d8e8ee8fab6a36112439177f4d1f69f38789a2 100644 (file)
@@ -4292,7 +4292,7 @@ static void do_2833(switch_rtp_t *rtp_session)
                        rtp_session->stats.outbound.raw_bytes += wrote;
                        rtp_session->stats.outbound.dtmf_packet_count++;
                        
-                       switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(rtp_session->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(rtp_session->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,