From 465caa682534bb59ef5a19a4601ee52319e74d17 Mon Sep 17 00:00:00 2001 From: Jean-Baptiste VESLIN Date: Mon, 21 Feb 2022 15:27:35 +0100 Subject: [PATCH] =?UTF-8?q?feat:=20add=20optional=20environment=20variable?= =?UTF-8?q?=20LOGPROXY=5FCHMOD=20to=20change=20logf=E2=80=A6=20(#33)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit …iles mode --- src/options.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/options.h b/src/options.h index 1977444..b68fc26 100644 --- a/src/options.h +++ b/src/options.h @@ -80,10 +80,10 @@ void set_default_values_from_env() } } - if ( chmod == NULL ) { + if ( chmod_str == NULL ) { env_val = g_getenv("LOGPROXY_CHMOD"); if ( env_val != NULL ) { - chmod = (gchar *)env_val; + chmod_str = (gchar *)env_val; } } }