]> git.ipfire.org Git - thirdparty/asterisk.git/commit
pjsip_distributor.c: Use correct rdata info access method. 09/2909/1
authorRichard Mudgett <rmudgett@digium.com>
Wed, 25 May 2016 23:30:07 +0000 (18:30 -0500)
committerRichard Mudgett <rmudgett@digium.com>
Thu, 26 May 2016 18:55:17 +0000 (13:55 -0500)
commit7d44d12816ce46c742a5a621e400344d025bb007
treef32728f5f29f1f6221f9068505e30a6782537b73
parenta6b16d7029a7a44c6a43b3b0f1cbc74cecd11454
pjsip_distributor.c: Use correct rdata info access method.

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: Iafe8b01242b7deb0ebfdc36685e21374a43936d2
res/res_pjsip/pjsip_distributor.c