diff options
author | Joshua Colp <jcolp@digium.com> | 2007-01-23 00:11:32 +0000 |
---|---|---|
committer | Joshua Colp <jcolp@digium.com> | 2007-01-23 00:11:32 +0000 |
commit | 21b53af31dcf5e881bf2e6617d7605653119c2f4 (patch) | |
tree | 2dedc24f8adfd522fcad82dd7e12e53bf19ff853 /main/file.c | |
parent | dcdc6c0bc6d89a9f204dd637826e8b690ebf0206 (diff) |
Cosmetic changes. Make main source files better conform to coding guidelines and standards. (issue #8679 reported by johann8384)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@51486 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'main/file.c')
-rw-r--r-- | main/file.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/main/file.c b/main/file.c index 0149d801b..ee0436bd3 100644 --- a/main/file.c +++ b/main/file.c @@ -610,7 +610,7 @@ static int ast_readaudio_callback(void *data) struct ast_filestream *s = data; int whennext = 0; - while(!whennext) { + while (!whennext) { struct ast_frame *fr = s->fmt->read(s, &whennext); if (!fr /* stream complete */ || ast_write(s->owner, fr) /* error writing */) { if (fr) @@ -1031,7 +1031,7 @@ static int waitstream_core(struct ast_channel *c, const char *breakon, struct ast_frame *fr = ast_read(c); if (!fr) return -1; - switch(fr->frametype) { + switch (fr->frametype) { case AST_FRAME_DTMF_END: if (context) { const char exten[2] = { fr->subclass, '\0' }; @@ -1052,7 +1052,7 @@ static int waitstream_core(struct ast_channel *c, const char *breakon, } break; case AST_FRAME_CONTROL: - switch(fr->subclass) { + switch (fr->subclass) { case AST_CONTROL_HANGUP: case AST_CONTROL_BUSY: case AST_CONTROL_CONGESTION: |