summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua Colp <jcolp@digium.com>2017-02-13 12:08:03 -0600
committerGerrit Code Review <gerrit2@gerrit.digium.api>2017-02-13 12:08:03 -0600
commit3e6c15085ac93b5b59790b24bb4eb7287ff371c2 (patch)
treeb1eda059b07d2e4a34fcadf40c1dd7791fa7cf27
parent5780492cd725858628c32b42d72152455f2525c3 (diff)
parent07abb39d6a6f14c0fc518d5ed372167888a13000 (diff)
Merge "res_pjsip.c: Fix inconsistency between warning and action."
-rw-r--r--res/res_pjsip.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/res/res_pjsip.c b/res/res_pjsip.c
index 59777c94f..90eb37263 100644
--- a/res/res_pjsip.c
+++ b/res/res_pjsip.c
@@ -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);
}