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

Diff for /src/usr.bin/ssh/session.c between version 1.81 and 1.82

version 1.81, 2001/06/04 23:16:16 version 1.82, 2001/06/05 16:46:19
Line 89 
Line 89 
 void    session_pty_cleanup(Session *s);  void    session_pty_cleanup(Session *s);
 void    session_proctitle(Session *s);  void    session_proctitle(Session *s);
 int     session_setup_x11fwd(Session *s);  int     session_setup_x11fwd(Session *s);
   void    session_close(Session *s);
 void    do_exec_pty(Session *s, const char *command);  void    do_exec_pty(Session *s, const char *command);
 void    do_exec_no_pty(Session *s, const char *command);  void    do_exec_no_pty(Session *s, const char *command);
 void    do_login(Session *s, const char *command);  void    do_login(Session *s, const char *command);
Line 370 
Line 371 
                                 do_exec_pty(s, command);                                  do_exec_pty(s, command);
                         else                          else
                                 do_exec_no_pty(s, command);                                  do_exec_no_pty(s, command);
   
                         if (command != NULL)                          if (command != NULL)
                                 xfree(command);                                  xfree(command);
                           session_close(s);
                         return;                          return;
   
                 default:                  default:
Line 592 
Line 593 
         } else {          } else {
                 server_loop(pid, ptyfd, fdout, -1);                  server_loop(pid, ptyfd, fdout, -1);
                 /* server_loop _has_ closed ptyfd and fdout. */                  /* server_loop _has_ closed ptyfd and fdout. */
                 session_pty_cleanup(s);  
         }          }
 }  }
   
Line 1665 
Line 1665 
                 packet_send_debug("No xauth program; cannot forward with spoofing.");                  packet_send_debug("No xauth program; cannot forward with spoofing.");
                 return 0;                  return 0;
         }          }
         if (s->display != NULL) {          if (s->display != NULL || xauthfile != NULL) {
                 debug("X11 display already set.");                  debug("X11 display already set.");
                 return 0;                  return 0;
         }          }
Line 1697 
Line 1697 
 void  void
 do_authenticated2(Authctxt *authctxt)  do_authenticated2(Authctxt *authctxt)
 {  {
   
         server_loop2();          server_loop2();
 }  }

Legend:
Removed from v.1.81  
changed lines
  Added in v.1.82