diff options
author | Mark Spencer <markster@digium.com> | 2004-07-15 14:37:09 +0000 |
---|---|---|
committer | Mark Spencer <markster@digium.com> | 2004-07-15 14:37:09 +0000 |
commit | 957782627c8d44fd613e0b98199dbe37363c499a (patch) | |
tree | 2a139b80eb5ff719b9dfb9420c55a45f312fc26c /file.c | |
parent | 6e9d4faf6140b8ebefb04f046afe0bab9d6a2216 (diff) |
If breakon is unspecified, make it ""
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3441 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'file.c')
-rwxr-xr-x | file.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -871,6 +871,7 @@ char ast_waitstream(struct ast_channel *c, char *breakon) /* XXX Maybe I should just front-end ast_waitstream_full ? XXX */ int res; struct ast_frame *fr; + if (!breakon) breakon = ""; while(c->stream) { res = ast_sched_wait(c->sched); if ((res < 0) && !c->timingfunc) { |