Skip to content

Commit 59e0744

Browse files
author
root
committed
whitespace formatting
1 parent 1ea29b0 commit 59e0744

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

app_swift.c

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,7 @@ static int app_exec(struct ast_channel *chan, const char *data)
306306
#if (defined _AST_VER_10 || defined _AST_VER_11 || defined _AST_VER_12)
307307
struct ast_format old_writeformat;
308308
#elif (defined _AST_VER_13)
309-
RAII_VAR(struct ast_format *, old_writeformat, NULL, ao2_cleanup);
309+
RAII_VAR(struct ast_format *, old_writeformat, NULL, ao2_cleanup);
310310
#else
311311
int old_writeformat = 0;
312312
#endif
@@ -396,7 +396,7 @@ static int app_exec(struct ast_channel *chan, const char *data)
396396
/*
397397
* This registers a chan with swift, otherwise through repeated DTMF+synth requests
398398
* a single call could consume all available concurrent synthesis ports.
399-
*/
399+
*/
400400
swift_register_ast_chan(port, chan);
401401
}
402402
#endif
@@ -450,7 +450,7 @@ static int app_exec(struct ast_channel *chan, const char *data)
450450

451451
if (ast_set_write_format_by_id(chan, AST_FORMAT_ULAW) < 0) {
452452
#elif (defined _AST_VER_13)
453-
old_writeformat = ao2_bump(ast_channel_writeformat(chan));
453+
old_writeformat = ao2_bump(ast_channel_writeformat(chan));
454454

455455
if (ast_set_write_format(chan, ast_format_ulaw) < 0) {
456456
#endif
@@ -500,7 +500,7 @@ static int app_exec(struct ast_channel *chan, const char *data)
500500
#elif (defined _AST_VER_10 || defined _AST_VER_11 || defined _AST_VER_12)
501501
ast_format_set(&myf.f.subclass.format, AST_FORMAT_ULAW, 0);
502502
#elif (defined _AST_VER_13)
503-
myf.f.subclass.format = ast_format_ulaw;
503+
myf.f.subclass.format = ast_format_ulaw;
504504
#endif
505505
myf.f.datalen = len;
506506
myf.f.samples = len;
@@ -659,7 +659,7 @@ static int app_exec(struct ast_channel *chan, const char *data)
659659
if (!res) {
660660
ast_set_write_format(chan, old_writeformat);
661661
}
662-
ao2_cleanup(old_writeformat);
662+
ao2_cleanup(old_writeformat);
663663
#endif
664664
ast_module_user_remove(u);
665665
return res;

0 commit comments

Comments
 (0)