diff --git a/channels/chan_sip.c b/channels/chan_sip.c index c67b8fd454..92e600f2b6 100644 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -12875,8 +12875,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