[asterisk-commits] seanbright: branch 13 r422901 - in /branches/13: ./ res/res_pjsip/config_auth.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Wed Sep 10 10:59:42 CDT 2014
Author: seanbright
Date: Wed Sep 10 10:59:40 2014
New Revision: 422901
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=422901
Log:
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
Modified:
branches/13/ (props changed)
branches/13/res/res_pjsip/config_auth.c
Propchange: branches/13/
------------------------------------------------------------------------------
Binary property 'branch-12-merged' - no diff available.
Modified: branches/13/res/res_pjsip/config_auth.c
URL: http://svnview.digium.com/svn/asterisk/branches/13/res/res_pjsip/config_auth.c?view=diff&rev=422901&r1=422900&r2=422901
==============================================================================
--- branches/13/res/res_pjsip/config_auth.c (original)
+++ branches/13/res/res_pjsip/config_auth.c Wed Sep 10 10:59:40 2014
@@ -96,18 +96,18 @@
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;
More information about the asterisk-commits
mailing list