提交 edbc5594 authored 作者: Michael Jerris's avatar Michael Jerris

be more safe about compiler qwirkyness in initialization.

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4196 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 40037266
......@@ -2547,7 +2547,7 @@ SWITCH_DECLARE(switch_status_t) switch_core_session_send_dtmf(switch_core_sessio
if (strchr(dtmf, 'w') || strchr(dtmf, 'W')) {
char *d;
for (d = dtmf; d && *d; d++) {
char digit[2] = "";
char digit[2] = {0};
if (*d == 'w') {
switch_yield(500000);
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论