projects
/
asterisk/asterisk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
322fdec
)
Make conform to coding guidelines... thanks drumkilla :)
author
Josh Roberson
<josh@asteriasgi.com>
Sun, 20 Nov 2005 10:32:28 +0000
(10:32 +0000)
committer
Josh Roberson
<josh@asteriasgi.com>
Sun, 20 Nov 2005 10:32:28 +0000
(10:32 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7145
65c4cc65
-6c06-0410-ace0-
fbb531ad65f3
pbx/pbx_spool.c
patch
|
blob
|
history
diff --git
a/pbx/pbx_spool.c
b/pbx/pbx_spool.c
index
4af23c4
..
9709f08
100755
(executable)
--- a/
pbx/pbx_spool.c
+++ b/
pbx/pbx_spool.c
@@
-202,15
+202,13
@@
static int apply_outgoing(struct outgoing *o, char *fn, FILE *f)
} else if (!strcasecmp(buf, "setvar") || !strcasecmp(buf, "set")) {
c2 = c;
strsep(&c2, "=");
- if (c2)
- {
+ if (c2) {
var = ast_variable_new(c, c2);
if (var) {
var->next = o->vars;
o->vars = var;
}
- }
- else
+ } else
ast_log(LOG_WARNING, "Malformed \"%s\" argument. Should be \"%s: variable=value\"\n", buf, buf);
} else if (!strcasecmp(buf, "account")) {
var = ast_variable_new("CDR(accountcode|r)", c);