summaryrefslogtreecommitdiff
path: root/main/cdr.c
diff options
context:
space:
mode:
authorMatthew Jordan <mjordan@digium.com>2014-09-06 22:21:17 +0000
committerMatthew Jordan <mjordan@digium.com>2014-09-06 22:21:17 +0000
commit8302bc7f0a72667a6d9fdc7d66828508977f1053 (patch)
tree47dc9ec45a99de761a1b9cd6bd6c4e3e6552fc46 /main/cdr.c
parentdf77a7c5f0235214e56cb8339501503daeb28864 (diff)
main/rtp_engine: Format NTP timestamps as unsigned ints
On some systems, a timeval's tv_sec/tv_usec will be unsigned lont ints, as opposed to long ints. When the RTP engine formats these as strings, it was previously formatting them as signed integers, which can result in some odd negative timestamp values (particularly on 32-bit systems). This patch formats the values as unsigned long integers. ........ Merged revisions 422766 from http://svn.asterisk.org/svn/asterisk/branches/12 git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/13@422767 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'main/cdr.c')
0 files changed, 0 insertions, 0 deletions