[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.187 and 1.188

version 1.187, 2013/06/01 13:15:52 version 1.188, 2013/07/12 00:19:58
Line 1037 
Line 1037 
 int  int
 packet_read_seqnr(u_int32_t *seqnr_p)  packet_read_seqnr(u_int32_t *seqnr_p)
 {  {
         int type, len, ret, ms_remain, cont;          int type, len, ret, cont, ms_remain = 0;
         fd_set *setp;          fd_set *setp;
         char buf[8192];          char buf[8192];
         struct timeval timeout, start, *timeoutp = NULL;          struct timeval timeout, start, *timeoutp = NULL;
Line 1475 
Line 1475 
                 } else {                  } else {
                         type = packet_read_poll1();                          type = packet_read_poll1();
                         switch (type) {                          switch (type) {
                           case SSH_MSG_NONE:
                                   return SSH_MSG_NONE;
                         case SSH_MSG_IGNORE:                          case SSH_MSG_IGNORE:
                                 break;                                  break;
                         case SSH_MSG_DEBUG:                          case SSH_MSG_DEBUG:
Line 1489 
Line 1491 
                                 cleanup_exit(255);                                  cleanup_exit(255);
                                 break;                                  break;
                         default:                          default:
                                 if (type)                                  DBG(debug("received packet type %d", type));
                                         DBG(debug("received packet type %d", type));  
                                 return type;                                  return type;
                         }                          }
                 }                  }
Line 1724 
Line 1725 
 packet_write_wait(void)  packet_write_wait(void)
 {  {
         fd_set *setp;          fd_set *setp;
         int ret, ms_remain;          int ret, ms_remain = 0;
         struct timeval start, timeout, *timeoutp = NULL;          struct timeval start, timeout, *timeoutp = NULL;
   
         setp = (fd_set *)xcalloc(howmany(active_state->connection_out + 1,          setp = (fd_set *)xcalloc(howmany(active_state->connection_out + 1,

Legend:
Removed from v.1.187  
changed lines
  Added in v.1.188