]> git.ipfire.org Git - thirdparty/asterisk.git/commit
pjsip_distributor.c: Use correct rdata info access method (Part 2). 25/2925/1
authorRichard Mudgett <rmudgett@digium.com>
Tue, 31 May 2016 18:02:15 +0000 (13:02 -0500)
committerRichard Mudgett <rmudgett@digium.com>
Tue, 31 May 2016 18:37:28 +0000 (13:37 -0500)
commitaec7916595b24c7504751231f648fff36fdb1707
tree34422de541f7b26fd0e2249261c94ee57c2a386d
parentad31e5bb1c663b3b4c64f5668728dac70dfb4af1
pjsip_distributor.c: Use correct rdata info access method (Part 2).

The pjproject doxygen for rdata->msg_info.info says to call
pjsip_rx_data_get_info() instead of accessing the struct member directly.
You need to call the function mostly because the function will generate
the struct member value if it is not already setup.

Change-Id: I4d519385a577f3e9d9193a88125e493cf17fa799
res/res_pjsip/pjsip_distributor.c