]> git.ipfire.org Git - thirdparty/asterisk.git/commit
res_rtp_asterisk: Fix a self-comparison identified by gcc 6 59/3259/2
authorGeorge Joseph <gjoseph@digium.com>
Wed, 22 Jun 2016 18:41:57 +0000 (12:41 -0600)
committerJoshua Colp <jcolp@digium.com>
Thu, 21 Jul 2016 12:32:56 +0000 (07:32 -0500)
commitc974fab9407d5b180568f9d394e43ca232888809
tree54920b93e7d16ef0f20b077a0cb2ab1871c93f14
parentabe901e682b8b947d2beb03e757d7c94a5f5041b
res_rtp_asterisk:  Fix a self-comparison identified by gcc 6

gcc 6 caught a previously unidentified self-comparison in
ice_candidate_cmp.  Fixed it and re-ordered the predicates for better
short-circuiting.

ASTERISK-26140 #close

Change-Id: I3da713c568e24064430257b3502fbdafd35af7a7
(cherry picked from commit 9548ccca0e56470c9a32360da73f687ae05376f5)
res/res_rtp_asterisk.c