nc: exit when both stdin and network are closed.
authorDenys Vlasenko <vda.linux@googlemail.com>
Sun, 28 Jul 2013 20:23:12 +0000 (22:23 +0200)
committerDenys Vlasenko <vda.linux@googlemail.com>
Sun, 28 Jul 2013 20:23:12 +0000 (22:23 +0200)
commitffeeb7a96c74f1f001495c2311526681e2271a77
tree72ebc9e50c877f83069fea5cc12633a860dc9c3b
parentca54b662e7a058a1f687da2eac6752590a9ed2ee
nc: exit when both stdin and network are closed.

function                                             old     new   delta
nc_main                                             1051    1042      -9
readwrite                                            943     887     -56

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
networking/nc_bloaty.c