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

Diff for /src/usr.bin/ssh/packet.c between version 1.113 and 1.114

version 1.113, 2004/05/11 19:01:43 version 1.114, 2004/06/14 01:44:39
Line 314 
Line 314 
 packet_set_nonblocking(void)  packet_set_nonblocking(void)
 {  {
         /* Set the socket into non-blocking mode. */          /* Set the socket into non-blocking mode. */
         if (fcntl(connection_in, F_SETFL, O_NONBLOCK) < 0)          set_nonblock(connection_in);
                 error("fcntl O_NONBLOCK: %.100s", strerror(errno));  
   
         if (connection_out != connection_in) {          if (connection_out != connection_in)
                 if (fcntl(connection_out, F_SETFL, O_NONBLOCK) < 0)                  set_nonblock(connection_out);
                         error("fcntl O_NONBLOCK: %.100s", strerror(errno));  
         }  
 }  }
   
 /* Returns the socket used for reading. */  /* Returns the socket used for reading. */

Legend:
Removed from v.1.113  
changed lines
  Added in v.1.114