summaryrefslogtreecommitdiff
path: root/apps/app_url.c
diff options
context:
space:
mode:
authorSean Bright <sean.bright@gmail.com>2017-12-22 09:14:07 -0500
committerSean Bright <sean.bright@gmail.com>2017-12-22 09:14:07 -0500
commitce3d56920b15facbb64b3caf0d823a3f57c0dded (patch)
tree0ea4a13885afb281237b3747e85eb6315863ae0a /apps/app_url.c
parent35a2e09c655f26067db0f51837704886d6ffff78 (diff)
Remove as much trailing whitespace as possible.
Change-Id: I873c1c6d00f447269bd841494459efccdd2c19c0
Diffstat (limited to 'apps/app_url.c')
-rw-r--r--apps/app_url.c15
1 files changed, 7 insertions, 8 deletions
diff --git a/apps/app_url.c b/apps/app_url.c
index d5dd70176..6058e38e0 100644
--- a/apps/app_url.c
+++ b/apps/app_url.c
@@ -21,14 +21,14 @@
* \brief App to transmit a URL
*
* \author Mark Spencer <markster@digium.com>
- *
+ *
* \ingroup applications
*/
/*** MODULEINFO
<support_level>extended</support_level>
***/
-
+
#include "asterisk.h"
ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
@@ -106,7 +106,7 @@ static int sendurl_exec(struct ast_channel *chan, const char *data)
AST_APP_ARG(url);
AST_APP_ARG(options);
);
-
+
if (ast_strlen_zero(data)) {
ast_log(LOG_WARNING, "SendURL requires an argument (URL)\n");
pbx_builtin_setvar_helper(chan, "SENDURLSTATUS", status);
@@ -118,7 +118,7 @@ static int sendurl_exec(struct ast_channel *chan, const char *data)
AST_STANDARD_APP_ARGS(args, tmp);
if (args.argc == 2)
ast_app_parse_options(app_opts, &flags, opts, args.options);
-
+
if (!ast_channel_supports_html(chan)) {
/* Does not support transport */
pbx_builtin_setvar_helper(chan, "SENDURLSTATUS", "UNSUPPORTED");
@@ -134,7 +134,7 @@ static int sendurl_exec(struct ast_channel *chan, const char *data)
for(;;) {
/* Wait for an event */
res = ast_waitfor(chan, -1);
- if (res < 0)
+ if (res < 0)
break;
f = ast_read(chan);
if (!f) {
@@ -163,8 +163,8 @@ static int sendurl_exec(struct ast_channel *chan, const char *data)
}
ast_frfree(f);
}
- }
-out:
+ }
+out:
pbx_builtin_setvar_helper(chan, "SENDURLSTATUS", status);
return res;
}
@@ -180,4 +180,3 @@ static int load_module(void)
}
AST_MODULE_INFO_STANDARD_EXTENDED(ASTERISK_GPL_KEY, "Send URL Applications");
-