net: Further simplify makesock_addrinfo().
authorAndre Noll <maan@systemlinux.org>
Sun, 8 Sep 2013 05:10:29 +0000 (05:10 +0000)
committerAndre Noll <maan@systemlinux.org>
Wed, 1 Jan 2014 17:40:16 +0000 (17:40 +0000)
commitc9a917fe5862bb042e36de84685b5c0fafa7f0eb
treedc6337503857e5f09799ec086a5b263bf2b75742
parent8d47a8cea663cc9c1c01cdba23b0531caa5c8d9c
net: Further simplify makesock_addrinfo().

Instead of breaking out of the loop, we may as well return the
appropriate value directly.
net.c