]> git.ipfire.org Git - thirdparty/openvpn.git/commitdiff
revert unconditionally-enabling of setenv_es() logging (too noisy)
authorGert Doering <gert@greenie.muc.de>
Mon, 29 Mar 2010 15:05:02 +0000 (17:05 +0200)
committerGert Doering <gert@greenie.muc.de>
Sun, 24 Apr 2011 15:22:43 +0000 (17:22 +0200)
replace with #ifdef DEBUG_VERBOSE_SETENV compile-time flag

misc.c

diff --git a/misc.c b/misc.c
index 8d1e0e7cf29bb92057e21ca17aae39bcba200705..d49900942dd30496b649524f6a74982754e6e683 100644 (file)
--- a/misc.c
+++ b/misc.c
@@ -1004,7 +1004,9 @@ setenv_str_ex (struct env_set *es,
        {
          const char *str = construct_name_value (name_tmp, val_tmp, &gc);
          env_set_add (es, str);
-         msg (M_INFO, "SETENV_ES '%s'", str);/**/
+#if DEBUG_VERBOSE_SETENV
+         msg (M_INFO, "SETENV_ES '%s'", str);
+#endif
        }
       else
        env_set_del (es, name_tmp);