mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-07 13:49:18 +00:00
Formatting fixes
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3076 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
4
app.c
4
app.c
@@ -407,7 +407,8 @@ int ast_linear_stream(struct ast_channel *chan, const char *filename, int fd, in
|
||||
return res;
|
||||
}
|
||||
|
||||
int ast_control_streamfile(struct ast_channel *chan, char *file,char *f,char *r,int skipms) {
|
||||
int ast_control_streamfile(struct ast_channel *chan, char *file, char *f, char *r, int skipms)
|
||||
{
|
||||
int res;
|
||||
if ((res = ast_streamfile(chan, file, chan->language)))
|
||||
ast_log(LOG_WARNING, "Unable to stream file %s\n", file);
|
||||
@@ -415,4 +416,3 @@ int ast_control_streamfile(struct ast_channel *chan, char *file,char *f,char *r,
|
||||
res = ast_waitstream_fr(chan, AST_DIGIT_ANY,f,r,skipms);
|
||||
return res;
|
||||
}
|
||||
|
||||
|
@@ -2549,9 +2549,7 @@ static int wait_file2(struct ast_channel *chan, struct vm_state *vms, char *file
|
||||
|
||||
static int wait_file(struct ast_channel *chan, struct vm_state *vms, char *file)
|
||||
{
|
||||
|
||||
return ast_control_streamfile(chan, file, "#", "*", skipms);
|
||||
|
||||
}
|
||||
|
||||
static int play_message_datetime(struct ast_channel *chan, struct ast_vm_user *vmu, char *origtime, char *filename)
|
||||
|
Reference in New Issue
Block a user