Clean up last commit to better conform to standards.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47556 65c4cc65-6c06-0410-ace0-fbb531ad65f3
1.6.0
Joshua Colp 19 years ago
parent 613e503260
commit 23ebec40a5

@ -859,7 +859,7 @@ static void check_includes(pval *includes)
char *incl_context = p4->u1.str;
/* find a matching context name */
struct pval *that_other_context = find_context(incl_context);
if (!that_other_context&&strcmp(incl_context,"parkedcalls")!=0) {
if (!that_other_context && strcmp(incl_context, "parkedcalls") != 0) {
ast_log(LOG_WARNING, "Warning: file %s, line %d-%d: The included context '%s' cannot be found.\n",
includes->filename, includes->startline, includes->endline, incl_context);
warns++;

Loading…
Cancel
Save