[BACK]Return to telnet.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / telnet

Diff for /src/usr.bin/telnet/telnet.c between version 1.32 and 1.33

version 1.32, 2015/11/13 17:13:59 version 1.33, 2015/11/24 05:06:24
Line 81 
Line 81 
         binary = 0,          binary = 0,
         autologin = 0,  /* Autologin anyone? */          autologin = 0,  /* Autologin anyone? */
         skiprc = 0,          skiprc = 0,
           connections = 0,
         connected,          connected,
         showoptions,          showoptions,
         ISend,          /* trying to send network data in */          ISend,          /* trying to send network data in */
Line 1837 
Line 1838 
 void  void
 telnet(char *user)  telnet(char *user)
 {  {
       connections++;
     sys_telnet_init();      sys_telnet_init();
   
     if (pledge("stdio tty", NULL) == -1) {      if (pledge("stdio tty", NULL) == -1) {

Legend:
Removed from v.1.32  
changed lines
  Added in v.1.33