[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.119 and 1.120

version 1.119, 2012/12/02 20:34:10 version 1.120, 2012/12/11 22:16:21
Line 346 
Line 346 
 #endif  #endif
         }          }
   
         /* Drain any buffered messages from the child */  
         while (pmonitor->m_log_recvfd != -1 && monitor_read_log(pmonitor) == 0)  
                 ;  
   
         if (!authctxt->valid)          if (!authctxt->valid)
                 fatal("%s: authenticated invalid user", __func__);                  fatal("%s: authenticated invalid user", __func__);
         if (strcmp(auth_method, "unknown") == 0)          if (strcmp(auth_method, "unknown") == 0)
Line 359 
Line 355 
             __func__, authctxt->user);              __func__, authctxt->user);
   
         mm_get_keystate(pmonitor);          mm_get_keystate(pmonitor);
   
           /* Drain any buffered messages from the child */
           while (pmonitor->m_log_recvfd != -1 && monitor_read_log(pmonitor) == 0)
                   ;
   
         close(pmonitor->m_sendfd);          close(pmonitor->m_sendfd);
         close(pmonitor->m_log_recvfd);          close(pmonitor->m_log_recvfd);

Legend:
Removed from v.1.119  
changed lines
  Added in v.1.120