core: fix log message with the proper preprocessor directive name
authorDaniel-Constantin Mierla <miconda@gmail.com>
Fri, 6 Sep 2019 18:48:31 +0000 (20:48 +0200)
committerDaniel-Constantin Mierla <miconda@gmail.com>
Fri, 6 Sep 2019 18:48:31 +0000 (20:48 +0200)
pkg/docker
src/core/cfg.lex

index 5d6f46a..b92a1c8 160000 (submodule)
@@ -1 +1 @@
-Subproject commit 5d6f46a758e0d98fa4258925d40aa1521b1e27d0
+Subproject commit b92a1c899b8c474afadd0cf29dd7cb4ea01a3466
index 53f3343..a640bd1 100644 (file)
@@ -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;
        }