aboutsummaryrefslogtreecommitdiffstats
path: root/channel.c
diff options
context:
space:
mode:
authormarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2003-06-29 21:54:58 +0000
committermarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2003-06-29 21:54:58 +0000
commit07df1a38015e29d444d34f83daf7af09b45bf6a5 (patch)
treec6d0463a8475d4ddec5b2f3ca87b0ffa82fc24ca /channel.c
parentce56e9aea71fb712d1b859f1c9903dd06032034d (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-xchannel.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/channel.c b/channel.c
index f66d6174f..fb7d502bc 100755
--- a/channel.c
+++ b/channel.c
@@ -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);