[sr-dev] git:master:26c13797: core: fix log message with the proper preprocessor directive name

Daniel-Constantin Mierla miconda at gmail.com
Fri Sep 6 20:50:40 CEST 2019


Module: kamailio
Branch: master
Commit: 26c137977d2892f67e80f07759bec17ddfe99172
URL: https://github.com/kamailio/kamailio/commit/26c137977d2892f67e80f07759bec17ddfe99172

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date: 2019-09-06T20:48:31+02:00

core: fix log message with the proper preprocessor directive name

---

Modified: pkg/docker
Modified: src/core/cfg.lex

---

Diff:  https://github.com/kamailio/kamailio/commit/26c137977d2892f67e80f07759bec17ddfe99172.diff
Patch: https://github.com/kamailio/kamailio/commit/26c137977d2892f67e80f07759bec17ddfe99172.patch

---

diff --git a/pkg/docker b/pkg/docker
index 5d6f46a758..b92a1c899b 160000
--- a/pkg/docker
+++ b/pkg/docker
@@ -1 +1 @@
-Subproject commit 5d6f46a758e0d98fa4258925d40aa1521b1e27d0
+Subproject commit b92a1c899b8c474afadd0cf29dd7cb4ea01a3466
diff --git a/src/core/cfg.lex b/src/core/cfg.lex
index 53f33431df..a640bd158f 100644
--- a/src/core/cfg.lex
+++ b/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;
 	}




More information about the sr-dev mailing list