From d8461c1c82cb5f16fb48516663aa8a0c2fc2c68a Mon Sep 17 00:00:00 2001 From: DavidXanatos Date: Sun, 26 Sep 2021 17:50:37 +0200 Subject: [PATCH] --- Sandboxie/core/drv/conf.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Sandboxie/core/drv/conf.c b/Sandboxie/core/drv/conf.c index c96625b9..b078a489 100644 --- a/Sandboxie/core/drv/conf.c +++ b/Sandboxie/core/drv/conf.c @@ -804,7 +804,7 @@ _FX NTSTATUS Conf_Merge_Templates(CONF_DATA *data, ULONG session_id) status = Conf_Merge_Template( data, session_id, setting->value, sandbox); #ifdef USE_CONF_MAP - if (status = STATUS_NOT_FOUND) { + if (status == STATUS_NOT_FOUND) { Log_Msg_Session(MSG_CONF_MISSING_TMPL, iter.key, setting->value, session_id); status = STATUS_SUCCESS; } @@ -919,7 +919,7 @@ _FX NTSTATUS Conf_Merge_Global( status = Conf_Merge_Template( data, session_id, setting->value, sandbox); #ifdef USE_CONF_MAP - if (status = STATUS_NOT_FOUND) { + if (status == STATUS_NOT_FOUND) { Log_Msg_Session(MSG_CONF_MISSING_TMPL, iter.key, setting->value, session_id); status = STATUS_SUCCESS; }