mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-29 18:19:30 +00:00
Merge "res_rtp_asterisk: Fix a self-comparison identified by gcc 6"
This commit is contained in:
@@ -540,8 +540,8 @@ static int ice_candidate_cmp(void *obj, void *arg, int flags)
|
|||||||
|
|
||||||
if (strcmp(candidate1->foundation, candidate2->foundation) ||
|
if (strcmp(candidate1->foundation, candidate2->foundation) ||
|
||||||
candidate1->id != candidate2->id ||
|
candidate1->id != candidate2->id ||
|
||||||
ast_sockaddr_cmp(&candidate1->address, &candidate2->address) ||
|
candidate1->type != candidate2->type ||
|
||||||
candidate1->type != candidate1->type) {
|
ast_sockaddr_cmp(&candidate1->address, &candidate2->address)) {
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user