summaryrefslogtreecommitdiffstats
path: root/ProcessList.c
diff options
context:
space:
mode:
authorNathan Scott <nathans@redhat.com>2020-09-09 19:38:15 +1000
committerNathan Scott <nathans@redhat.com>2020-09-09 19:38:15 +1000
commit459733295954ec0d5958f9a8d955d0c164876c84 (patch)
treefe10a871c5c51bc7f98e275242bbed0276788415 /ProcessList.c
parentc5808c56db166528ae7e74cedb51cc466f973b9f (diff)
Switch variable/field naming from WhiteList to MatchList
Diffstat (limited to 'ProcessList.c')
-rw-r--r--ProcessList.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/ProcessList.c b/ProcessList.c
index 025c87af..aa529d5b 100644
--- a/ProcessList.c
+++ b/ProcessList.c
@@ -15,11 +15,11 @@ in the source distribution for its full text.
#include <string.h>
-ProcessList* ProcessList_init(ProcessList* this, ObjectClass* klass, UsersTable* usersTable, Hashtable* pidWhiteList, uid_t userId) {
+ProcessList* ProcessList_init(ProcessList* this, ObjectClass* klass, UsersTable* usersTable, Hashtable* pidMatchList, uid_t userId) {
this->processes = Vector_new(klass, true, DEFAULT_SIZE);
this->processTable = Hashtable_new(140, false);
this->usersTable = usersTable;
- this->pidWhiteList = pidWhiteList;
+ this->pidMatchList = pidMatchList;
this->userId = userId;
// tree-view auxiliary buffer
@@ -254,7 +254,7 @@ void ProcessList_rebuildPanel(ProcessList* this) {
if ( (!p->show)
|| (this->userId != (uid_t) -1 && (p->st_uid != this->userId))
|| (incFilter && !(String_contains_i(p->comm, incFilter)))
- || (this->pidWhiteList && !Hashtable_get(this->pidWhiteList, p->tgid)) )
+ || (this->pidMatchList && !Hashtable_get(this->pidMatchList, p->tgid)) )
hidden = true;
if (!hidden) {

© 2014-2024 Faster IT GmbH | imprint | privacy policy