projects
/
paraslash.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from:
88bdd8c
)
net: makesock(): Combine code for passive sockets.
author
Andre Noll
<maan@systemlinux.org>
Sun, 8 Sep 2013 04:37:30 +0000
(
04:37
+0000)
committer
Andre 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