From: Alec L Davis Date: Mon, 20 Sep 2010 23:15:25 +0000 (+0000) Subject: ast_channel_masquerade: remove extra else if X-Git-Tag: 1.4.38-rc1~68 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4675573b985b6398eadc78fae2b97baf6c86b6cc;p=thirdparty%2Fasterisk.git 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 --- diff --git a/main/channel.c b/main/channel.c index 24e9f9c861..2f7a203763 100644 --- a/main/channel.c +++ b/main/channel.c @@ -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);