summaryrefslogtreecommitdiff
path: root/res
diff options
context:
space:
mode:
authorzuul <zuul@gerrit.asterisk.org>2017-02-13 12:07:03 -0600
committerGerrit Code Review <gerrit2@gerrit.digium.api>2017-02-13 12:07:03 -0600
commite0c52c5ec217a64adfccbe7a2a36bd306091a0d4 (patch)
treefd1372bd7b5d1a5e2d6bb3ed6f457da8b8aafb8c /res
parent6958241b3f62b90ef68d5a57452e0d73514e3fb8 (diff)
parenta46a21642e162e1862028cfc43998a04dc9818b5 (diff)
Merge "res_pjsip.c: Fix inconsistency between warning and action." into 13
Diffstat (limited to 'res')
-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 1bc8fb8d8..9b9905826 100644
--- a/res/res_pjsip.c
+++ b/res/res_pjsip.c
@@ -2356,7 +2356,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);
}