fix debug message

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14202 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Michael Jerris 2009-07-10 20:19:20 +00:00
parent 9e5c81bea0
commit ff44ec8482
1 changed files with 2 additions and 1 deletions

View File

@ -1555,7 +1555,8 @@ void sofia_reg_handle_sip_r_challenge(int status,
} }
if (profile->debug) { if (profile->debug) {
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, "Authenticating '%s' with '%s'.\n", profile->username, authentication); switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, "Authenticating '%s' with '%s'.\n",
(sip_auth_username && sip_auth_password) ? sip_auth_username : gateway->auth_username, authentication);
} }
ss_state = nua_callstate_authenticating; ss_state = nua_callstate_authenticating;