diff options
author | Nathan Scott <nathans@redhat.com> | 2020-09-09 19:38:15 +1000 |
---|---|---|
committer | Nathan Scott <nathans@redhat.com> | 2020-09-09 19:38:15 +1000 |
commit | 459733295954ec0d5958f9a8d955d0c164876c84 (patch) | |
tree | fe10a871c5c51bc7f98e275242bbed0276788415 /ProcessList.c | |
parent | c5808c56db166528ae7e74cedb51cc466f973b9f (diff) |
Switch variable/field naming from WhiteList to MatchList
Diffstat (limited to 'ProcessList.c')
-rw-r--r-- | ProcessList.c | 6 |
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) { |