From 897b4c0ca319cf95d725150d4939e74a7f9c1ac8 Mon Sep 17 00:00:00 2001 From: Joshua Colp Date: Thu, 26 Apr 2007 01:25:03 +0000 Subject: [PATCH] Don't count failed include attempts against the configuration include level. (issue #9593 reported by mostyn) git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@61958 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- config.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/config.c b/config.c index 75b3f6ee71..89c5c499dd 100644 --- a/config.c +++ b/config.c @@ -966,6 +966,8 @@ struct ast_config *ast_config_internal_load(const char *filename, struct ast_con if (result) result->include_level--; + else + cfg->include_level--; return result; } -- 2.47.2