telnet: code shrink
authorDenys Vlasenko <vda.linux@googlemail.com>
Wed, 12 Oct 2016 18:42:58 +0000 (20:42 +0200)
committerDenys Vlasenko <vda.linux@googlemail.com>
Wed, 12 Oct 2016 18:42:58 +0000 (20:42 +0200)
commit57727d478db55b25bdc33bb9067915b659605ae6
tree8309c16618966df2c5c3b97bf1120031146257ce
parent26d88d6bbda628f0005115bbe0f85722db267793
telnet: code shrink

put_iac2(w,c) is mostly used with constants, fold them into one arg

function                                             old     new   delta
put_iac2_merged                                        -      46     +46
telnet_main                                         1603    1583     -20
con_escape                                           285     257     -28
put_iac2                                              50       -     -50
------------------------------------------------------------------------------
(add/remove: 1/1 grow/shrink: 0/2 up/down: 46/-98)            Total: -52 bytes

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