aboutsummaryrefslogtreecommitdiffstats
path: root/channels
diff options
context:
space:
mode:
Diffstat (limited to 'channels')
-rw-r--r--channels/chan_sip.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c
index d645d28b0..0f8771925 100644
--- a/channels/chan_sip.c
+++ b/channels/chan_sip.c
@@ -13644,8 +13644,7 @@ static enum check_auth_result check_user_full(struct sip_pvt *p, struct sip_requ
* really a mistake and should go away.
*/
of = domain;
- }
- {
+ } else {
char *tmp = ast_strdupa(of);
/* We need to be able to handle auth-headers looking like
<sip:8164444422;phone-context=+1@1.2.3.4:5060;user=phone;tag=SDadkoa01-gK0c3bdb43>