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/devicestate.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/devicestate.c')
-rw-r--r-- | main/devicestate.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/main/devicestate.c b/main/devicestate.c index 4a881afef..06386aa92 100644 --- a/main/devicestate.c +++ b/main/devicestate.c @@ -237,7 +237,7 @@ int ast_device_state(const char *device) } if (provider) { - if(option_debug > 2) + if (option_debug > 2) ast_log(LOG_DEBUG, "Checking if I can find provider for \"%s\" - number: %s\n", provider, number); return getproviderstate(provider, number); } @@ -310,7 +310,7 @@ static int getproviderstate(const char *provider, const char *address) AST_LIST_LOCK(&devstate_provs); AST_LIST_TRAVERSE_SAFE_BEGIN(&devstate_provs, devprov, list) { - if(option_debug > 4) + if (option_debug > 4) ast_log(LOG_DEBUG, "Checking provider %s with %s\n", devprov->label, provider); if (!strcasecmp(devprov->label, provider)) { @@ -435,7 +435,7 @@ static void *do_devstate_changes(void *data) struct state_change *cur; AST_LIST_LOCK(&state_changes); - for(;;) { + for (;;) { /* the list lock will _always_ be held at this point in the loop */ cur = AST_LIST_REMOVE_HEAD(&state_changes, list); if (cur) { |