[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.78 and 1.79

version 1.78, 2001/05/31 10:30:16 version 1.79, 2001/06/03 14:55:39
Line 94 
Line 94 
 void    do_child(Session *s, const char *command);  void    do_child(Session *s, const char *command);
 void    do_motd(void);  void    do_motd(void);
 int     check_quietlogin(Session *s, const char *command);  int     check_quietlogin(Session *s, const char *command);
   void    xauthfile_cleanup_proc(void *ignore);
   
 void    do_authenticated1(Authctxt *authctxt);  void    do_authenticated1(Authctxt *authctxt);
 void    do_authenticated2(Authctxt *authctxt);  void    do_authenticated2(Authctxt *authctxt);
Line 153 
Line 154 
                 do_authenticated2(authctxt);                  do_authenticated2(authctxt);
         else          else
                 do_authenticated1(authctxt);                  do_authenticated1(authctxt);
   
           /* remote user's local Xauthority file and agent socket */
           if (xauthfile)
                   xauthfile_cleanup_proc(NULL);
           if (auth_get_socket_name())
                   auth_sock_cleanup_proc(NULL);
 }  }
   
 /*  /*
Line 403 
Line 410 
   
                         if (command != NULL)                          if (command != NULL)
                                 xfree(command);                                  xfree(command);
                         /* Cleanup user's local Xauthority file. */  
                         if (xauthfile)  
                                 xauthfile_cleanup_proc(NULL);  
                         return;                          return;
   
                 default:                  default:
Line 1723 
Line 1727 
 {  {
   
         server_loop2();          server_loop2();
         if (xauthfile)  
                 xauthfile_cleanup_proc(NULL);  
 }  }

Legend:
Removed from v.1.78  
changed lines
  Added in v.1.79