]> git.ipfire.org Git - thirdparty/asterisk.git/commit
pjsip_distributor.c: Use correct rdata info access method (Part 2). 24/2924/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:34:26 +0000 (13:34 -0500)
commitb2ce0e354b780d373b2243fa23df02efec540b7f
tree289ed7acc5596a4f81b836e8738d68728e523fc1
parentacb614d5aeb9cb19d2ded895fff585575fcb24c0
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