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

Diff for /src/usr.bin/ssh/ssh.c between version 1.557 and 1.558

version 1.557, 2021/05/19 01:24:05 version 1.558, 2021/06/04 05:02:40
Line 1997 
Line 1997 
 ssh_session2_setup(struct ssh *ssh, int id, int success, void *arg)  ssh_session2_setup(struct ssh *ssh, int id, int success, void *arg)
 {  {
         extern char **environ;          extern char **environ;
         const char *display;          const char *display, *term;
         int r, interactive = tty_flag;          int r, interactive = tty_flag;
         char *proto = NULL, *data = NULL;          char *proto = NULL, *data = NULL;
   
Line 2032 
Line 2032 
         ssh_packet_set_interactive(ssh, interactive,          ssh_packet_set_interactive(ssh, interactive,
             options.ip_qos_interactive, options.ip_qos_bulk);              options.ip_qos_interactive, options.ip_qos_bulk);
   
         client_session2_setup(ssh, id, tty_flag, subsystem_flag, getenv("TERM"),          if ((term = lookup_env_in_list("TERM", options.setenv,
               options.num_setenv)) == NULL || *term == '\0')
                   term = getenv("TERM");
           client_session2_setup(ssh, id, tty_flag, subsystem_flag, term,
             NULL, fileno(stdin), command, environ);              NULL, fileno(stdin), command, environ);
 }  }
   

Legend:
Removed from v.1.557  
changed lines
  Added in v.1.558