]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/core/unit.c
fundamental: rework IN_SET() to require at least three arguments
authorLennart Poettering <lennart@poettering.net>
Mon, 2 Jan 2023 14:22:15 +0000 (15:22 +0100)
committerLennart Poettering <lennart@poettering.net>
Mon, 2 Jan 2023 16:16:50 +0000 (17:16 +0100)
commit4f06325ce97a072be84130c6ca8d29c52dcf9d0d
tree0660c2a964a2729f6c7487ecbabcbcb2804bb05d
parentefa75d702290c0a758dd30a2052fddaf8b7aa073
fundamental: rework IN_SET() to require at least three arguments

If less than three parameters are passed a simple comparison is the
better choice.

Lo and behold this found two pretty bad typos.
src/basic/fileio.c
src/core/timer.c
src/core/unit.c
src/fundamental/macro-fundamental.h
src/resolve/resolved-dns-rr.h
src/shared/varlink.c
src/systemctl/systemctl-start-special.c
src/test/test-macro.c
src/tmpfiles/offline-passwd.c