summaryrefslogtreecommitdiff
path: root/res/res_pjsip/config_auth.c
diff options
context:
space:
mode:
authorSean Bright <sean@malleable.com>2014-09-10 16:00:36 +0000
committerSean Bright <sean@malleable.com>2014-09-10 16:00:36 +0000
commit7bd3287a110f65a0e615a3815039cf0714688fc9 (patch)
tree6276cea817c2bc6af3af12db248fa5ca2e9a87cb /res/res_pjsip/config_auth.c
parenta47873168a9e6e40b1934fc80f97f368823bfaf9 (diff)
pjsip/config_auth.c: Add missing whitespace to log messages.
The errors generated when validating 'auth' settings are missing a space which makes the messages a little confusing. ........ Merged revisions 422899 from http://svn.asterisk.org/svn/asterisk/branches/12 ........ Merged revisions 422901 from http://svn.asterisk.org/svn/asterisk/branches/13 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@422902 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'res/res_pjsip/config_auth.c')
-rw-r--r--res/res_pjsip/config_auth.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/res/res_pjsip/config_auth.c b/res/res_pjsip/config_auth.c
index 05ec4c9ae..cd4b95985 100644
--- a/res/res_pjsip/config_auth.c
+++ b/res/res_pjsip/config_auth.c
@@ -96,18 +96,18 @@ static int auth_apply(const struct ast_sorcery *sorcery, void *obj)
switch (auth->type) {
case AST_SIP_AUTH_TYPE_USER_PASS:
if (ast_strlen_zero(auth->auth_pass)) {
- ast_log(LOG_ERROR, "'userpass' authentication specified but no"
+ ast_log(LOG_ERROR, "'userpass' authentication specified but no "
"password specified for auth '%s'\n", ast_sorcery_object_get_id(auth));
res = -1;
}
break;
case AST_SIP_AUTH_TYPE_MD5:
if (ast_strlen_zero(auth->md5_creds)) {
- ast_log(LOG_ERROR, "'md5' authentication specified but no md5_cred"
+ ast_log(LOG_ERROR, "'md5' authentication specified but no md5_cred "
"specified for auth '%s'\n", ast_sorcery_object_get_id(auth));
res = -1;
} else if (strlen(auth->md5_creds) != PJSIP_MD5STRLEN) {
- ast_log(LOG_ERROR, "'md5' authentication requires digest of size '%d', but"
+ ast_log(LOG_ERROR, "'md5' authentication requires digest of size '%d', but "
"digest is '%d' in size for auth '%s'\n", PJSIP_MD5STRLEN, (int)strlen(auth->md5_creds),
ast_sorcery_object_get_id(auth));
res = -1;