提交 64080300 authored 作者: Brian West's avatar Brian West

cleanup

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9871 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 ff3f04f1
......@@ -909,7 +909,7 @@ static void parse_gateways(sofia_profile_t *profile, switch_xml_t gateways_tag)
gateway->retry_seconds = atoi(retry_seconds);
if (gateway->retry_seconds < 10) {
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_WARNING, "INVALID: retry-seconds of %d on gateway %s correcting the value to 30\n",
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_WARNING, "invalid retry-seconds of %d on gateway %s, using the value of 30 instead.\n",
gateway->retry_seconds, name);
gateway->retry_seconds = 30;
}
......@@ -954,7 +954,7 @@ static void parse_gateways(sofia_profile_t *profile, switch_xml_t gateways_tag)
gateway->expires_str = switch_core_strdup(gateway->pool, expire_seconds);
if ((gateway->freq = atoi(gateway->expires_str)) < 5) {
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_WARNING, "INVALID: register-frequency of %d on gateway %s to 3600\n",
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_WARNING, "Invalid register-frequency of %d on gateway %s, using the value of 3600 instead\n",
gateway->freq, name);
gateway->freq = 3600;
}
......@@ -4067,7 +4067,7 @@ static void set_variable_sip_param(switch_channel_t *channel, char *header_type,
/* sh now points to the NULL at the end of the partially built */
/* sip_header_name variable. This is also the start of the */
/* variable part of the sip_header_name built from the lvalue */
/* of the parms data. */
/* of the params data. */
sh_save = sh;
while (params && params[0]) {
......@@ -4079,8 +4079,8 @@ static void set_variable_sip_param(switch_channel_t *channel, char *header_type,
*sh = *cp;
}
/* cp now points to either the end of the parms data or the */
/* equal (=) sign spearating the lvalue and rvalue. */
/* cp now points to either the end of the params data or the */
/* equal (=) sign separating the lvalue and rvalue. */
if (*cp == '=')
cp++;
*sh = '\0';
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论