summaryrefslogtreecommitdiff
path: root/apps/app_dahdiras.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_dahdiras.c
parent9ef97b5a9191e51f1edc66bb17728fd9fe552c35 (diff)
Remove as much trailing whitespace as possible.
Change-Id: I873c1c6d00f447269bd841494459efccdd2c19c0
Diffstat (limited to 'apps/app_dahdiras.c')
-rw-r--r--apps/app_dahdiras.c14
1 files changed, 6 insertions, 8 deletions
diff --git a/apps/app_dahdiras.c b/apps/app_dahdiras.c
index 10c2962c6..03b34a22f 100644
--- a/apps/app_dahdiras.c
+++ b/apps/app_dahdiras.c
@@ -21,7 +21,7 @@
* \brief Execute an ISDN RAS
*
* \author Mark Spencer <markster@digium.com>
- *
+ *
* \ingroup applications
*/
@@ -131,7 +131,7 @@ static void run_ras(struct ast_channel *chan, char *args)
int signalled = 0;
struct dahdi_bufferinfo savebi;
int x;
-
+
res = ioctl(ast_channel_fd(chan, 0), DAHDI_GET_BUFINFO, &savebi);
if(res) {
ast_log(LOG_WARNING, "Unable to check buffer policy on channel %s\n", ast_channel_name(chan));
@@ -161,7 +161,7 @@ static void run_ras(struct ast_channel *chan, char *args)
if (WIFEXITED(status)) {
ast_verb(3, "RAS on %s terminated with status %d\n", ast_channel_name(chan), WEXITSTATUS(status));
} else if (WIFSIGNALED(status)) {
- ast_verb(3, "RAS on %s terminated with signal %d\n",
+ ast_verb(3, "RAS on %s terminated with signal %d\n",
ast_channel_name(chan), WTERMSIG(status));
} else {
ast_verb(3, "RAS on %s terminated weirdly.\n", ast_channel_name(chan));
@@ -187,11 +187,11 @@ static int dahdiras_exec(struct ast_channel *chan, const char *data)
char *args;
struct dahdi_params dahdip;
- if (!data)
+ if (!data)
data = "";
args = ast_strdupa(data);
-
+
/* Answer the channel if it's not up */
if (ast_channel_state(chan) != AST_STATE_UP)
ast_answer(chan);
@@ -216,7 +216,7 @@ static int dahdiras_exec(struct ast_channel *chan, const char *data)
return res;
}
-static int unload_module(void)
+static int unload_module(void)
{
return ast_unregister_application(app);
}
@@ -227,5 +227,3 @@ static int load_module(void)
}
AST_MODULE_INFO_STANDARD_EXTENDED(ASTERISK_GPL_KEY, "DAHDI ISDN Remote Access Server");
-
-