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

Diff for /src/usr.bin/ssh/monitor_wrap.c between version 1.4 and 1.5

version 1.4, 2002/03/19 14:27:39 version 1.5, 2002/03/25 20:12:10
Line 88 
Line 88 
         if (res != sizeof(buf)) {          if (res != sizeof(buf)) {
                 if (res == 0)                  if (res == 0)
                         fatal_cleanup();                          fatal_cleanup();
                 fatal("%s: read: %d", __FUNCTION__, res);                  fatal("%s: read: %ld", __FUNCTION__, (long)res);
         }          }
         msg_len = GET_32BIT(buf);          msg_len = GET_32BIT(buf);
         if (msg_len > 256 * 1024)          if (msg_len > 256 * 1024)
Line 97 
Line 97 
         buffer_append_space(m, msg_len);          buffer_append_space(m, msg_len);
         res = atomicio(read, socket, buffer_ptr(m), msg_len);          res = atomicio(read, socket, buffer_ptr(m), msg_len);
         if (res != msg_len)          if (res != msg_len)
                 fatal("%s: read: %d != msg_len", __FUNCTION__, res);                  fatal("%s: read: %ld != msg_len", __FUNCTION__, (long)res);
 }  }
   
 void  void

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.5