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

This commit is contained in:
zuul
2017-02-13 12:07:03 -06:00
committed by Gerrit Code Review

View File

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