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

Diff for /src/usr.bin/ssh/sshconnect.c between version 1.236 and 1.237

version 1.236, 2012/09/14 16:51:34 version 1.237, 2013/02/22 19:13:56
Line 79 
Line 79 
         pid_t pid;          pid_t pid;
         char *shell, strport[NI_MAXSERV];          char *shell, strport[NI_MAXSERV];
   
           if (!strcmp(proxy_command, "-")) {
                   packet_set_connection(STDIN_FILENO, STDOUT_FILENO);
                   packet_set_timeout(options.server_alive_interval,
                       options.server_alive_count_max);
                   return 0;
           }
   
         if ((shell = getenv("SHELL")) == NULL || *shell == '\0')          if ((shell = getenv("SHELL")) == NULL || *shell == '\0')
                 shell = _PATH_BSHELL;                  shell = _PATH_BSHELL;
   

Legend:
Removed from v.1.236  
changed lines
  Added in v.1.237