aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGert Doering <gert@greenie.muc.de>2010-03-29 17:05:02 +0200
committerGert Doering <gert@greenie.muc.de>2011-04-24 17:22:43 +0200
commit2232f4b5ba74b7e0b77353e1e99f12637a8a15f6 (patch)
tree4600adb477d797c1ea544289b6d3dd9cda2c9a6a
parenttag and release as 20100307-1 (diff)
downloadopenvpn-2232f4b5ba74b7e0b77353e1e99f12637a8a15f6.tar.xz
revert unconditionally-enabling of setenv_es() logging (too noisy)
replace with #ifdef DEBUG_VERBOSE_SETENV compile-time flag
-rw-r--r--misc.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/misc.c b/misc.c
index 8d1e0e7..d499009 100644
--- 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);