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

Diff for /src/usr.bin/ssh/clientloop.c between version 1.279 and 1.280

version 1.279, 2016/01/13 23:04:47 version 1.280, 2016/01/14 16:17:39
Line 103 
Line 103 
 #include "sshpty.h"  #include "sshpty.h"
 #include "match.h"  #include "match.h"
 #include "msg.h"  #include "msg.h"
 #include "roaming.h"  
 #include "ssherr.h"  #include "ssherr.h"
 #include "hostfile.h"  #include "hostfile.h"
   
Line 748 
Line 747 
 static void  static void
 client_process_net_input(fd_set *readset)  client_process_net_input(fd_set *readset)
 {  {
         int len, cont = 0;          int len;
         char buf[8192];          char buf[8192];
   
         /*          /*
Line 757 
Line 756 
          */           */
         if (FD_ISSET(connection_in, readset)) {          if (FD_ISSET(connection_in, readset)) {
                 /* Read as much as possible. */                  /* Read as much as possible. */
                 len = roaming_read(connection_in, buf, sizeof(buf), &cont);                  len = read(connection_in, buf, sizeof(buf));
                 if (len == 0 && cont == 0) {                  if (len == 0) {
                         /*                          /*
                          * Received EOF.  The remote host has closed the                           * Received EOF.  The remote host has closed the
                          * connection.                           * connection.

Legend:
Removed from v.1.279  
changed lines
  Added in v.1.280