]> git.tue.mpg.de Git - paraslash.git/commit
net: Reduce indentation level in makesock_addrinfo().
authorAndre Noll <maan@systemlinux.org>
Sun, 8 Sep 2013 05:16:46 +0000 (05:16 +0000)
committerAndre Noll <maan@systemlinux.org>
Wed, 1 Jan 2014 17:40:16 +0000 (17:40 +0000)
commit5775c2a87e53a8214be1a57c50cb3506166b4f83
tree6f751cf658cf70d0cbe905fe35cd631ef175ed81
parentc9a917fe5862bb042e36de84685b5c0fafa7f0eb
net: Reduce indentation level in makesock_addrinfo().

Handle the active socket case of makesock_addrinfo() first, i.e.
transform

if (a)
lots_of_stuff;
else
short;
into

if (!a) {
short;
continue;
}
lots_of_stuff;
net.c