mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-29 18:19:30 +00:00
Minor cleanups
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1138 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -1647,7 +1647,7 @@ int ast_readstring(struct ast_channel *c, char *s, int len, int timeout, int fti
|
||||
if (!len)
|
||||
return -1;
|
||||
do {
|
||||
if (c->streamid > -1) {
|
||||
if (c->stream) {
|
||||
d = ast_waitstream(c, AST_DIGIT_ANY);
|
||||
ast_stopstream(c);
|
||||
usleep(1000);
|
||||
@@ -1685,7 +1685,7 @@ int ast_readstring_full(struct ast_channel *c, char *s, int len, int timeout, in
|
||||
if (!len)
|
||||
return -1;
|
||||
do {
|
||||
if (c->streamid > -1) {
|
||||
if (c->stream) {
|
||||
d = ast_waitstream_full(c, AST_DIGIT_ANY, audiofd, ctrlfd);
|
||||
ast_stopstream(c);
|
||||
usleep(1000);
|
||||
|
Reference in New Issue
Block a user