mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-15 08:29:45 +00:00
be more safe about compiler qwirkyness in initialization.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4196 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
400372666d
commit
edbc5594af
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user