]> git.ipfire.org Git - thirdparty/shadow.git/commit
libmisc: call `active_sessions_count()`
authorIker Pedrosa <ipedrosa@redhat.com>
Wed, 19 Jul 2023 10:02:31 +0000 (12:02 +0200)
committerSerge Hallyn <serge@hallyn.com>
Wed, 2 Aug 2023 15:13:28 +0000 (10:13 -0500)
commitfb8f44d73fc64cf26ed10cebf9dce9d0b865501d
tree9e1254a9c9a1ad602b9df17e21e4dc8135a09a27
parentede0665a5a2aca27eb2c97f6ba756d3164442341
libmisc: call `active_sessions_count()`

Replace the utmp dependent code with the call to
`active_sessions_count()`.

Resolves: https://github.com/shadow-maint/shadow/issues/674

Signed-off-by: Iker Pedrosa <ipedrosa@redhat.com>
libmisc/limits.c