diff options
author | twisted <twisted@f38db490-d61c-443f-a65b-d21fe96a405b> | 2005-11-20 10:32:28 +0000 |
---|---|---|
committer | twisted <twisted@f38db490-d61c-443f-a65b-d21fe96a405b> | 2005-11-20 10:32:28 +0000 |
commit | c7fb2d87492494f790bf4e48f4ba9b6cce3e1382 (patch) | |
tree | 349057035a2f3a4c827aedbfd5ae8154af57ba6b /pbx | |
parent | 0ef5d034a88e678a88a4437ba01677686d0c3e2a (diff) |
Make conform to coding guidelines... thanks drumkilla :)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7145 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'pbx')
-rwxr-xr-x | pbx/pbx_spool.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/pbx/pbx_spool.c b/pbx/pbx_spool.c index 4af23c400..9709f08cf 100755 --- 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); |