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/autoservice.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/autoservice.c')
-rw-r--r-- | main/autoservice.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/main/autoservice.c b/main/autoservice.c index 1d9670794..4573f8288 100644 --- a/main/autoservice.c +++ b/main/autoservice.c @@ -64,7 +64,7 @@ static pthread_t asthread = AST_PTHREADT_NULL; static void *autoservice_run(void *ign) { - for(;;) { + for (;;) { struct ast_channel *mons[MAX_AUTOMONS]; struct ast_channel *chan; struct asent *as; @@ -148,7 +148,7 @@ int ast_autoservice_stop(struct ast_channel *chan) AST_LIST_UNLOCK(&aslist); /* Wait for it to un-block */ - while(ast_test_flag(chan, AST_FLAG_BLOCKING)) + while (ast_test_flag(chan, AST_FLAG_BLOCKING)) usleep(1000); return res; } |