diff options
author | Kenny Levinsen <kl@kl.wtf> | 2022-02-15 13:24:41 +0100 |
---|---|---|
committer | Kenny Levinsen <kl@kl.wtf> | 2022-02-15 13:51:49 +0100 |
commit | f128359332ac33d5ef0c2e91830059fb1c1ef923 (patch) | |
tree | 2600e9dc471314484c62b6074b8c80400e41f550 /libseat/backend/seatd.c | |
parent | b47c79d73123052b20bc853b544c10274ab29fa6 (diff) |
logind: Always send ping if data is queued
sd_bus_call_method may have read and queued our ping response, so we
cannot assume that a previous ping will make the socket readable.
Instead, always send a ping if read or write queues are not empty, even
if a ping has already been sent.
Diffstat (limited to 'libseat/backend/seatd.c')
0 files changed, 0 insertions, 0 deletions