]> git.ipfire.org Git - thirdparty/systemd.git/commit
varlink: check state rather than flags to determine whether it makes sense to reply 30564/head
authorLennart Poettering <lennart@poettering.net>
Fri, 24 Nov 2023 15:11:46 +0000 (16:11 +0100)
committerLennart Poettering <lennart@poettering.net>
Thu, 21 Dec 2023 14:28:01 +0000 (15:28 +0100)
commit7ff96ce383512ab02bed92f75e2afb447bd38427
treee2bfd6aa410a6cfeefc9407623bd4cf30ce8d5c0
parenta13518231af95e2c771b8c981068e4138ea320e3
varlink: check state rather than flags to determine whether it makes sense to reply

We already checked the flags before, and updated the state accordingly,
hence let's only look at the state afterwards. This allows us to use the
same expressions for all cases where we want to reply automatically to
clients.
src/shared/varlink.c