]> git.ipfire.org Git - thirdparty/asterisk.git/commit
bridge_native_rtp.c: Minor code cleanups. 76/4676/1
authorRichard Mudgett <rmudgett@digium.com>
Fri, 23 Dec 2016 18:11:02 +0000 (12:11 -0600)
committerRichard Mudgett <rmudgett@digium.com>
Fri, 23 Dec 2016 19:10:18 +0000 (13:10 -0600)
commit21151408f7d984c7652f479f03ddd452e1d275f7
tree29eddc31c224acd2d782e94b1dba1ae7130d1a57
parent9dcf9e9cea87b7bf7f2bbdbaddd51377a6138bfa
bridge_native_rtp.c: Minor code cleanups.

In native_rtp_bridge_compatible_check()

* Made one variable declaration per line.

* Extracted if test assignment to make the test easier to see.

* Made long if tests easier to see the combinatorial logic.

* Added bridge id to a couple debug messages.

Change-Id: I65bc5732aa7c9a2537f062f106fbea711cf2daad
bridges/bridge_native_rtp.c