提交 62a63cef authored 作者: Anthony Minessale's avatar Anthony Minessale

double doh

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12264 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 dfd3f28b
...@@ -1547,12 +1547,14 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_digit_stream_parser_del_event(switch_ ...@@ -1547,12 +1547,14 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_digit_stream_parser_del_event(switch_
SWITCH_DECLARE(void *) switch_ivr_digit_stream_parser_feed(switch_ivr_digit_stream_parser_t *parser, switch_ivr_digit_stream_t *stream, char digit) SWITCH_DECLARE(void *) switch_ivr_digit_stream_parser_feed(switch_ivr_digit_stream_parser_t *parser, switch_ivr_digit_stream_t *stream, char digit)
{ {
void *result = NULL; void *result = NULL;
switch_size_t len = strlen(stream->digits); switch_size_t len;
switch_assert(parser); switch_assert(parser);
switch_assert(stream); switch_assert(stream);
switch_assert(stream->digits); switch_assert(stream->digits);
len = strlen(stream->digits);
/* handle new digit arrivals */ /* handle new digit arrivals */
if (digit) { if (digit) {
/* if it's not a terminator digit, add it to the collected digits */ /* if it's not a terminator digit, add it to the collected digits */
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论