diff options
author | mvanbaak <mvanbaak@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-02-09 11:27:10 +0000 |
---|---|---|
committer | mvanbaak <mvanbaak@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-02-09 11:27:10 +0000 |
commit | 54bf9542cd4ad93f537a2ab1c4e868758611f870 (patch) | |
tree | e41e80e4e3a91bbae96d141e8300a25335865986 /apps/app_chanisavail.c | |
parent | 51bdb710842c6220ba16de1fec8ce38bb5ecef13 (diff) |
whitespace fixes only.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@103249 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps/app_chanisavail.c')
-rw-r--r-- | apps/app_chanisavail.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/apps/app_chanisavail.c b/apps/app_chanisavail.c index 67d29e6ee..d0b29bdd2 100644 --- a/apps/app_chanisavail.c +++ b/apps/app_chanisavail.c @@ -18,9 +18,9 @@ */ /*! \file - * + * * \brief Check if Channel is Available - * + * * \author Mark Spencer <markster@digium.com> * \author James Golovich <james@gnuinter.net> @@ -45,7 +45,7 @@ static char *app = "ChanIsAvail"; static char *synopsis = "Check channel availability"; -static char *descrip = +static char *descrip = " ChanIsAvail(Technology/resource[&Technology2/resource2...][,options]): \n" "This application will check to see if any of the specified channels are\n" "available.\n" @@ -75,7 +75,7 @@ static int chanavail_exec(struct ast_channel *chan, void *data) return -1; } - info = ast_strdupa(data); + info = ast_strdupa(data); AST_STANDARD_APP_ARGS(args, info); @@ -105,16 +105,16 @@ static int chanavail_exec(struct ast_channel *chan, void *data) number++; if (string_compare) { - /* ast_parse_device_state checks for "SIP/1234" as a channel name. + /* ast_parse_device_state checks for "SIP/1234" as a channel name. ast_device_state will ask the SIP driver for the channel state. */ snprintf(trychan, sizeof(trychan), "%s/%s",cur,number); status = inuse = ast_parse_device_state(trychan); } else if (option_state) { /* If the pbx says in use then don't bother trying further. - This is to permit testing if someone's on a call, even if the - channel can permit more calls (ie callwaiting, sip calls, etc). */ - + This is to permit testing if someone's on a call, even if the + channel can permit more calls (ie callwaiting, sip calls, etc). */ + snprintf(trychan, sizeof(trychan), "%s/%s",cur,number); status = inuse = ast_device_state(trychan); } |