diff options
author | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2003-06-29 21:54:58 +0000 |
---|---|---|
committer | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2003-06-29 21:54:58 +0000 |
commit | 07df1a38015e29d444d34f83daf7af09b45bf6a5 (patch) | |
tree | c6d0463a8475d4ddec5b2f3ca87b0ffa82fc24ca /channel.c | |
parent | ce56e9aea71fb712d1b859f1c9903dd06032034d (diff) |
Minor cleanups
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@1138 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channel.c')
-rwxr-xr-x | channel.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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); |