]> git.tuebingen.mpg.de Git - paraslash.git/commitdiff
net: makesock(): Combine code for passive sockets.
authorAndre Noll <maan@systemlinux.org>
Sun, 8 Sep 2013 04:37:30 +0000 (04:37 +0000)
committerAndre Noll <maan@systemlinux.org>
Wed, 1 Jan 2014 17:40:15 +0000 (17:40 +0000)
Make use of  the fact that

if (a && b)
foo;
if (a)
bar;
else
baz;

is equivalent to

if (a) {
if (b)
foo;
bar;
} else
baz;

but the second form is easier to read, IMHO.


No differences found