telnetd: some simplifications and better error hadling.
authorvda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277>
Mon, 15 Oct 2007 15:19:36 +0000 (15:19 +0000)
committervda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277>
Mon, 15 Oct 2007 15:19:36 +0000 (15:19 +0000)
commitcec398c3a9b341f516f108e0f74168758e29404e
tree0b9a9cb8fd39f35fa361aaa380f3024385faa5e3
parentc4efa25022e7f6d7ddb59d05b82ffd9889864944
telnetd: some simplifications and better error hadling.
telnetd: don't SIGKILL child when closing the session.
kernel will seng SIGHUP for us.

static.iacs_to_send                                    -      15     +15
.rodata                                           123418  123429     +11
make_new_session                                     549     525     -24
send_iac                                              26       -     -26
free_session                                         144     118     -26
telnetd_main                                        1303    1261     -42
------------------------------------------------------------------------------
(add/remove: 1/1 grow/shrink: 1/3 up/down: 26/-118)           Total: -92 bytes
   text    data     bss     dec     hex filename
 676341    2538   12104  690983   a8b27 busybox_old
 676234    2538   12104  690876   a8abc busybox_unstripped

git-svn-id: svn://busybox.net/trunk/busybox@20260 69ca8d6d-28ef-0310-b511-8ec308f3f277
networking/telnetd.c