dhcp-server: don't assign sendmsg() return value to "int"
authorLennart Poettering <lennart@poettering.net>
Wed, 21 Mar 2018 19:25:46 +0000 (20:25 +0100)
committerLennart Poettering <lennart@poettering.net>
Wed, 21 Mar 2018 19:27:16 +0000 (20:27 +0100)
commit0f01c1f9185ac28c53f52166f718ff04ce1fe75a
tree2a77642e4253b91f98f735a8d5222d236db765a9
parent37cbc1d57992f49b3607bd66973dd30e0a8d1073
dhcp-server: don't assign sendmsg() return value to "int"

The type is "ssize_t", not "int", let's be accurate about that, as these
types are different on some archs.

Given that we don't actually care about the return value reall, drop
the whole assignment, just check if negative.
src/libsystemd-network/sd-dhcp-server.c