Browse Source

core: fix log message with the proper preprocessor directive name

Daniel-Constantin Mierla 6 years ago
parent
commit
26c137977d
2 changed files with 2 additions and 2 deletions
  1. 1 1
      pkg/docker
  2. 1 1
      src/core/cfg.lex

+ 1 - 1
pkg/docker

@@ -1 +1 @@
-Subproject commit 5d6f46a758e0d98fa4258925d40aa1521b1e27d0
+Subproject commit b92a1c899b8c474afadd0cf29dd7cb4ea01a3466

+ 1 - 1
src/core/cfg.lex

@@ -1955,7 +1955,7 @@ static void pp_endif()
 {
 	pp_ifdef_level_update(-1);
 	if(pp_sptr==0) {
-		LM_WARN("invalid position for preprocessor directive 'else'"
+		LM_WARN("invalid position for preprocessor directive 'endif'"
 				" - at %s line %d\n", (finame)?finame:"cfg", line);
 		return;
 	}