Fix last commit.

This commit is contained in:
Nodir Temirkhodjaev 2017-11-01 19:04:17 +05:00
parent fd891a4ec8
commit ac75fc3e9d

View File

@ -117,9 +117,11 @@ fort_conf_app_blocked (const PFORT_CONF conf,
const BOOL app_perm_allowed = (app_perm & conf->app_perms_allow_mask);
const BOOL app_allowed = conf->flags.app_allow_all ? TRUE : app_perm_allowed;
*notify = app_blocked && conf->flags.app_log_blocked;
const BOOL blocked = app_blocked && !app_allowed;
return app_blocked && !app_allowed;
*notify = blocked && conf->flags.app_log_blocked;
return blocked;
}
static void