Formatting fixes
authorJames Golovich <james@gnuinter.net>
Wed, 26 May 2004 16:51:25 +0000 (16:51 +0000)
committerJames Golovich <james@gnuinter.net>
Wed, 26 May 2004 16:51:25 +0000 (16:51 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3076 65c4cc65-6c06-0410-ace0-fbb531ad65f3

app.c
apps/app_voicemail.c
include/asterisk/app.h

diff --git a/app.c b/app.c
index e272dce..15a15f2 100755 (executable)
--- a/app.c
+++ b/app.c
@@ -407,12 +407,12 @@ 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 res;
-  if ((res = ast_streamfile(chan, file, chan->language)))
-    ast_log(LOG_WARNING, "Unable to stream file  %s\n", file);
-  if (!res)
-    res = ast_waitstream_fr(chan, AST_DIGIT_ANY,f,r,skipms);
-  return res;
+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);
+       if (!res)
+               res = ast_waitstream_fr(chan, AST_DIGIT_ANY,f,r,skipms);
+       return res;
 }
-
index 8c0a2fe..9bce8c6 100755 (executable)
@@ -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);
-
+       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)
index dacdf95..618e94f 100755 (executable)
@@ -55,7 +55,7 @@ int ast_dtmf_stream(struct ast_channel *chan, struct ast_channel *peer, char *di
 int ast_linear_stream(struct ast_channel *chan, const char *filename, int fd, int allowoverride);
 
 //! Stream a file with fast forward and reverse.
-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);
 
 #if defined(__cplusplus) || defined(c_plusplus)
 }