]> git.ipfire.org Git - thirdparty/asterisk.git/commit
pjsip_distributor.c: Use correct rdata info access method. 08/2908/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 17:25:37 +0000 (12:25 -0500)
commit03d5b3ce5c8403b790fcae53c938625ae5dd10f8
tree9e642250942d9bc257910ffcfe4638def1423a76
parenta42bea3314fab798b3ef6f73c6a47d925621127c
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