FS-7707: fix build error on centos7

This commit is contained in:
Michael Jerris 2015-06-22 14:36:09 -04:00
parent 6008cad2aa
commit 7963c4045e
1 changed files with 22 additions and 24 deletions

View File

@ -839,14 +839,13 @@ SWITCH_DECLARE(char *) CoreSession::getDigits(int maxdigits,
int timeout,
int interdigit)
{
switch_status_t status;
this_check((char *)"");
sanity_check((char *)"");
begin_allow_threads();
char terminator;
memset(dtmf_buf, 0, sizeof(dtmf_buf));
status = switch_ivr_collect_digits_count(session,
switch_ivr_collect_digits_count(session,
dtmf_buf,
sizeof(dtmf_buf),
maxdigits,
@ -913,12 +912,11 @@ SWITCH_DECLARE(char *) CoreSession::playAndGetDigits(int min_digits,
int digit_timeout,
const char *transfer_on_failure)
{
switch_status_t status;
sanity_check((char *)"");
this_check((char *)"");
begin_allow_threads();
memset(dtmf_buf, 0, sizeof(dtmf_buf));
status = switch_play_and_get_digits( session,
switch_play_and_get_digits( session,
(uint32_t) min_digits,
(uint32_t) max_digits,
(uint32_t) max_tries,