From cd15e6156e2c86dc13f28f31da59b58df7a1966e Mon Sep 17 00:00:00 2001 From: file 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: http://svn.digium.com/svn/asterisk/trunk@51486 f38db490-d61c-443f-a65b-d21fe96a405b --- main/devicestate.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'main/devicestate.c') 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) { -- cgit v1.2.3