summaryrefslogtreecommitdiff
path: root/apps/app_read.c
diff options
context:
space:
mode:
authorSean Bright <sean.bright@gmail.com>2017-12-22 09:23:22 -0500
committerSean Bright <sean.bright@gmail.com>2017-12-22 09:23:22 -0500
commitfd0ca1c3f9b972a52d48a82b492fd6bac772dc78 (patch)
tree42d2a87726d196f4db1c68489007520a4c597062 /apps/app_read.c
parent9ef97b5a9191e51f1edc66bb17728fd9fe552c35 (diff)
Remove as much trailing whitespace as possible.
Change-Id: I873c1c6d00f447269bd841494459efccdd2c19c0
Diffstat (limited to 'apps/app_read.c')
-rw-r--r--apps/app_read.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/apps/app_read.c b/apps/app_read.c
index d1e14ed80..f9193571d 100644
--- a/apps/app_read.c
+++ b/apps/app_read.c
@@ -21,14 +21,14 @@
* \brief Trivial application to read a variable
*
* \author Mark Spencer <markster@digium.com>
- *
+ *
* \ingroup applications
*/
/*** MODULEINFO
<support_level>core</support_level>
***/
-
+
#include "asterisk.h"
#include "asterisk/file.h"
@@ -144,13 +144,13 @@ static int read_exec(struct ast_channel *chan, const char *data)
AST_APP_ARG(attempts);
AST_APP_ARG(timeout);
);
-
+
pbx_builtin_setvar_helper(chan, "READSTATUS", status);
if (ast_strlen_zero(data)) {
ast_log(LOG_WARNING, "Read requires an argument (variable)\n");
return 0;
}
-
+
argcopy = ast_strdupa(data);
AST_STANDARD_APP_ARGS(arglist, argcopy);
@@ -158,7 +158,7 @@ static int read_exec(struct ast_channel *chan, const char *data)
if (!ast_strlen_zero(arglist.options)) {
ast_app_parse_options(read_app_options, &flags, NULL, arglist.options);
}
-
+
if (!ast_strlen_zero(arglist.attempts)) {
tries = atoi(arglist.attempts);
if (tries <= 0)