summaryrefslogtreecommitdiff
path: root/bin/hostname
diff options
context:
space:
mode:
authorJeremie Courreges-Anglas <jca@cvs.openbsd.org>2014-04-18 10:48:31 +0000
committerJeremie Courreges-Anglas <jca@cvs.openbsd.org>2014-04-18 10:48:31 +0000
commitead8f16d7f9c050a5bff8d2edc980b290f54e7f9 (patch)
treee553cd5fec4045a19aee8bcf03d02210ec98cfa7 /bin/hostname
parentc8eda18cb26aab069ab65363196d11a8a337b4ae (diff)
Invert the signature logic of in{,6}_selectsrc, make them return the
error code and pass the resulting source address back to the caller through a pointer, as suggested by chrisz. This gives us more readable code, and eases the deletion of useless checks in the callers' error path. Add a bunch of "0 -> NULL" conversions, while here. ok chrisz@ mpi@
Diffstat (limited to 'bin/hostname')
0 files changed, 0 insertions, 0 deletions