]> git.ipfire.org Git - thirdparty/systemd.git/commit
pam_systemd: drop unnecessary strempty() of 'tty' variable
authorLennart Poettering <lennart@poettering.net>
Mon, 27 Nov 2023 16:22:54 +0000 (17:22 +0100)
committerLennart Poettering <lennart@poettering.net>
Thu, 4 Jan 2024 14:01:38 +0000 (15:01 +0100)
commit3d010bc53db5779ac4d41db61df4f5f822bb5565
tree7238433e80295dbe2273532531c5618e7697271e
parent5863f1da4283f77a231ad3658306cad3716e4b44
pam_systemd: drop unnecessary strempty() of 'tty' variable

This probably predates our introduction of streq_ptr(). Let's drop this
now however, as we actually want this to be NULL, further down, and
handle that just fine. In particular as all the special cases we have
explicitly set this to NULL anyway.

No real change in behaviour, just some normalization of handling.
src/login/pam_systemd.c