[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.220 and 1.221

version 1.220, 2006/10/09 23:36:11 version 1.221, 2007/01/21 01:41:54
Line 1598 
Line 1598 
                 } else if (strcmp(rtype, "exec") == 0) {                  } else if (strcmp(rtype, "exec") == 0) {
                         success = session_exec_req(s);                          success = session_exec_req(s);
                 } else if (strcmp(rtype, "pty-req") == 0) {                  } else if (strcmp(rtype, "pty-req") == 0) {
                         success =  session_pty_req(s);                          success = session_pty_req(s);
                 } else if (strcmp(rtype, "x11-req") == 0) {                  } else if (strcmp(rtype, "x11-req") == 0) {
                         success = session_x11_req(s);                          success = session_x11_req(s);
                 } else if (strcmp(rtype, "auth-agent-req@openssh.com") == 0) {                  } else if (strcmp(rtype, "auth-agent-req@openssh.com") == 0) {
Line 1723 
Line 1723 
   
         debug3("session_close_single_x11: channel %d", id);          debug3("session_close_single_x11: channel %d", id);
         channel_cancel_cleanup(id);          channel_cancel_cleanup(id);
         if ((s  = session_by_x11_channel(id)) == NULL)          if ((s = session_by_x11_channel(id)) == NULL)
                 fatal("session_close_single_x11: no x11 channel %d", id);                  fatal("session_close_single_x11: no x11 channel %d", id);
         for (i = 0; s->x11_chanids[i] != -1; i++) {          for (i = 0; s->x11_chanids[i] != -1; i++) {
                 debug("session_close_single_x11: session %d: "                  debug("session_close_single_x11: session %d: "

Legend:
Removed from v.1.220  
changed lines
  Added in v.1.221