aboutsummaryrefslogtreecommitdiffstats
path: root/main/autoservice.c
diff options
context:
space:
mode:
Diffstat (limited to 'main/autoservice.c')
-rw-r--r--main/autoservice.c4
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;
}