提交 2b3951f1 authored 作者: Brian West's avatar Brian West

format string

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4638 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 61d3e4dd
......@@ -4583,7 +4583,7 @@ static void sip_i_invite(nua_t *nua,
if (sip->sip_max_forwards) {
char max_forwards[32];
snprintf(max_forwards, sizeof(max_forwards), "%u", sip->sip_max_forwards->mf_count);
snprintf(max_forwards, sizeof(max_forwards), "%lu", sip->sip_max_forwards->mf_count);
switch_channel_set_variable(channel, SWITCH_MAX_FORWARDS_VARIABLE, max_forwards);
}
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论