mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-27 22:50:42 +00:00
ast_channel_masquerade: remove extra else if
(closes issue #17363,#16057)
Reported by: amorsen;davidw,alecdavis
Patches:
based on bug16057.diff4.txt uploaded by alecdavis (license 585)
Tested by: ramonpeek, davidw, alecdavis
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@287684 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -3931,10 +3931,9 @@ retrymasq:
|
||||
} else if (clone->masq) {
|
||||
ast_log(LOG_WARNING, "%s is already going to masquerade as %s\n",
|
||||
clone->masq->name, clone->name);
|
||||
} else if (clone->masqr) {
|
||||
} else { /* (clone->masqr) */
|
||||
ast_log(LOG_WARNING, "%s is already going to masquerade as %s\n",
|
||||
clone->name, clone->masqr->name);
|
||||
} else {
|
||||
}
|
||||
|
||||
ast_channel_unlock(clone);
|
||||
|
||||
Reference in New Issue
Block a user