diff options
author | Michiel van Baak <michiel@vanbaak.info> | 2008-02-09 11:27:10 +0000 |
---|---|---|
committer | Michiel van Baak <michiel@vanbaak.info> | 2008-02-09 11:27:10 +0000 |
commit | 4dccb58fb7f8fd8a2a0e5dba0f4d58b39c277022 (patch) | |
tree | e41e80e4e3a91bbae96d141e8300a25335865986 /apps/app_chanisavail.c | |
parent | 9d4d240b941e547912438487d5b91567803da743 (diff) |
whitespace fixes only.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@103249 65c4cc65-6c06-0410-ace0-fbb531ad65f3
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); } |