From 68ac46d1d204bc600bc425f2fb24290f20e1bdaa Mon Sep 17 00:00:00 2001 From: bol-van Date: Wed, 17 Dec 2025 14:27:51 +0300 Subject: [PATCH] winws2: remove old comment --- nfq2/darkmagic.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/nfq2/darkmagic.c b/nfq2/darkmagic.c index 0e38511..5f1fbc7 100644 --- a/nfq2/darkmagic.c +++ b/nfq2/darkmagic.c @@ -743,11 +743,11 @@ BOOL JobSandbox() #define WINDIVERT_DEVICE_NAME "WinDivert" -static bool b_isandbox_set = false; +static bool b_sandbox_set = false; bool win_sandbox(void) { // there's no way to return privs - if (!b_isandbox_set) + if (!b_sandbox_set) { if (!RemoveTokenPrivs()) return FALSE; @@ -759,8 +759,7 @@ bool win_sandbox(void) return false; if (!JobSandbox()) return false; - // for LUA code to find where to store files - b_isandbox_set = true; + b_sandbox_set = true; } return true; }