mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-09-13 02:42:09 +02:00
Users: revert 9b9d03947d
This commit is contained in:
@@ -11,8 +11,6 @@
|
||||
#define getutxent getutent
|
||||
#endif
|
||||
|
||||
#pragma GCC diagnostic ignored "-Wstringop-overread"
|
||||
|
||||
void ffDetectUsers(FFlist* users, FFstrbuf* error)
|
||||
{
|
||||
struct utmpx* n = NULL;
|
||||
@@ -26,7 +24,7 @@ next:
|
||||
|
||||
FF_LIST_FOR_EACH(FFstrbuf, user, *users)
|
||||
{
|
||||
if(ffStrbufCompS(user, n->ut_user) == 0)
|
||||
if(ffStrbufEqualS(user, n->ut_user))
|
||||
goto next;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user