diff options
author | file <file@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-01-23 00:11:32 +0000 |
---|---|---|
committer | file <file@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-01-23 00:11:32 +0000 |
commit | cd15e6156e2c86dc13f28f31da59b58df7a1966e (patch) | |
tree | 2dedc24f8adfd522fcad82dd7e12e53bf19ff853 /main/file.c | |
parent | 363b34c1e91602d96708183a0ac50874bac93c4b (diff) |
Cosmetic changes. Make main source files better conform to coding guidelines and standards. (issue #8679 reported by johann8384)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@51486 f38db490-d61c-443f-a65b-d21fe96a405b
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: |