diff options
author | Jason Parker <jparker@digium.com> | 2007-06-14 23:23:35 +0000 |
---|---|---|
committer | Jason Parker <jparker@digium.com> | 2007-06-14 23:23:35 +0000 |
commit | a5bdba60741b7f79c86debdaaaf76ee33894519b (patch) | |
tree | 249e70ef715f9245364f8d8fd6f6719bc478026b /main/config.c | |
parent | b179e2155f886117b68499c5c918c82242728a86 (diff) |
Merged revisions 69470 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
................
r69470 | qwell | 2007-06-14 18:22:51 -0500 (Thu, 14 Jun 2007) | 12 lines
Merged revisions 69469 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r69469 | qwell | 2007-06-14 18:21:45 -0500 (Thu, 14 Jun 2007) | 4 lines
Fix an issue where the line number in an unterminated comment block error message would show the wrong line number.
"Reported" to me on #asterisk (somebody posted an error message, and I happened to catch it)
........
................
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@69471 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'main/config.c')
-rw-r--r-- | main/config.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/config.c b/main/config.c index ad7138443..2568dc728 100644 --- a/main/config.c +++ b/main/config.c @@ -921,7 +921,7 @@ static struct ast_config *config_text_file_load(const char *database, const char fclose(f); } while (0); if (comment) { - ast_log(LOG_WARNING,"Unterminated comment detected beginning on line %d\n", nest[comment]); + ast_log(LOG_WARNING,"Unterminated comment detected beginning on line %d\n", nest[comment - 1]); } #ifdef AST_INCLUDE_GLOB if (!cfg) |