projects
/
asterisk/asterisk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6e9d4fa
)
If breakon is unspecified, make it ""
author
Mark Spencer
<markster@digium.com>
Thu, 15 Jul 2004 14:37:09 +0000
(14:37 +0000)
committer
Mark Spencer
<markster@digium.com>
Thu, 15 Jul 2004 14:37:09 +0000
(14:37 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3441
65c4cc65
-6c06-0410-ace0-
fbb531ad65f3
file.c
patch
|
blob
|
history
diff --git
a/file.c
b/file.c
index
f0bea54
..
11b12bf
100755
(executable)
--- a/
file.c
+++ b/
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) {