Merge "res_pjsip.c: Fix inconsistency between warning and action."

changes/42/4942/1
Joshua Colp 9 years ago committed by Gerrit Code Review
commit 3e6c15085a

@ -2368,7 +2368,7 @@ enum ast_sip_check_auth_result ast_sip_check_authentication(struct ast_sip_endpo
{
if (!registered_authenticator) {
ast_log(LOG_WARNING, "No SIP authenticator registered. Assuming authentication is successful\n");
return 0;
return AST_SIP_AUTHENTICATION_SUCCESS;
}
return registered_authenticator->check_authentication(endpoint, rdata, tdata);
}

Loading…
Cancel
Save