tty-ask-password-agent: assing sendto() result to a ssize_t variable, not an int
authorLennart Poettering <lennart@poettering.net>
Tue, 13 Feb 2018 22:53:59 +0000 (23:53 +0100)
committerLennart Poettering <lennart@poettering.net>
Tue, 13 Feb 2018 22:53:59 +0000 (23:53 +0100)
commit5439206bc721bc2e7b8453601e9c99d8b0fe5e9a
tree3e6d51771a0283d21d6a86417a238a16d0a5cc8d
parent87964ec7d1c6edf69d18dba53add7d1b70a3aaf0
tty-ask-password-agent: assing sendto() result to a ssize_t variable, not an int

We should be careful with these types, and if we do convert between
"int" and "ssize_t" we should do so explicitly rather than implicitly.
Otherwise this just looks like a bug.
src/tty-ask-password-agent/tty-ask-password-agent.c