mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-03 04:16:43 +00:00
If breakon is unspecified, make it ""
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3441 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
1
file.c
1
file.c
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user