From 21b53af31dcf5e881bf2e6617d7605653119c2f4 Mon Sep 17 00:00:00 2001 From: Joshua Colp Date: Tue, 23 Jan 2007 00:11:32 +0000 Subject: 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 --- main/autoservice.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'main/autoservice.c') 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; } -- cgit v1.2.3