diff --git a/res/res_pjsip_outbound_registration.c b/res/res_pjsip_outbound_registration.c index 7f60acdb3a8c67f48183398c7c37084fd8a3ed88..d0b868799cbeaa8ab2b66378f470ba103b4beaf6 100644 --- a/res/res_pjsip_outbound_registration.c +++ b/res/res_pjsip_outbound_registration.c @@ -389,7 +389,7 @@ static struct pjsip_param *get_uri_option_line(const void *uri) static const pj_str_t LINE_STR = { "line", 4 }; if (!PJSIP_URI_SCHEME_IS_SIP(uri) && !PJSIP_URI_SCHEME_IS_SIPS(uri)) { - return NULL; + return NULL; } pjuri = pjsip_uri_get_uri(uri); return pjsip_param_find(&pjuri->other_param, &LINE_STR); @@ -403,7 +403,7 @@ static struct ast_sip_endpoint *line_identify(pjsip_rx_data *rdata) RAII_VAR(struct sip_outbound_registration_state *, state, NULL, ao2_cleanup); if (!(line = get_uri_option_line(rdata->msg_info.to->uri)) - && !(line = get_uri_option_line(rdata->msg_info.msg->line.req.uri))) { + && !(line = get_uri_option_line(rdata->msg_info.msg->line.req.uri))) { return NULL; }