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:
Mark Spencer
2004-07-15 14:37:09 +00:00
parent 6e9d4faf61
commit 957782627c

1
file.c
View File

@@ -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) {