Simplify the logic of tsocket_bsd_pending
commitf9d00fb58e8e9fed24751ad26dbdbc394f30290e
authorVolker Lendecke <vl@samba.org>
Tue, 19 May 2009 21:31:55 +0000 (19 23:31 +0200)
committerVolker Lendecke <vl@samba.org>
Tue, 19 May 2009 21:35:16 +0000 (19 23:35 +0200)
tree4aa6e8abcae1d5e782d771f3be26dc201c2a9eeb
parentcf9636ea99bb5063a8c7d771c1e29f684b4b753a
Simplify the logic of tsocket_bsd_pending

Remove two indentation levels by returning early on error.

Metze, please check!
lib/tsocket/tsocket_bsd.c