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

Diff for /src/usr.bin/ssh/monitor.c between version 1.91 and 1.92

version 1.91, 2007/05/17 20:52:13 version 1.92, 2007/09/04 03:21:03
Line 1105 
Line 1105 
   
         mm_request_send(sock, MONITOR_ANS_PTY, m);          mm_request_send(sock, MONITOR_ANS_PTY, m);
   
         mm_send_fd(sock, s->ptyfd);          if (mm_send_fd(sock, s->ptyfd) == -1 ||
         mm_send_fd(sock, s->ttyfd);              mm_send_fd(sock, s->ttyfd) == -1)
                   fatal("%s: send fds failed", __func__);
   
         /* make sure nothing uses fd 0 */          /* make sure nothing uses fd 0 */
         if ((fd0 = open(_PATH_DEVNULL, O_RDONLY)) < 0)          if ((fd0 = open(_PATH_DEVNULL, O_RDONLY)) < 0)

Legend:
Removed from v.1.91  
changed lines
  Added in v.1.92