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

Diff for /src/usr.bin/ssh/msg.c between version 1.5 and 1.5.2.1

version 1.5, 2002/12/19 00:07:02 version 1.5.2.1, 2003/09/16 20:50:43
Line 40 
Line 40 
   
         PUT_32BIT(buf, mlen + 1);          PUT_32BIT(buf, mlen + 1);
         buf[4] = type;          /* 1st byte of payload is mesg-type */          buf[4] = type;          /* 1st byte of payload is mesg-type */
         if (atomicio(write, fd, buf, sizeof(buf)) != sizeof(buf))          if (atomicio(vwrite, fd, buf, sizeof(buf)) != sizeof(buf))
                 fatal("ssh_msg_send: write");                  fatal("ssh_msg_send: write");
         if (atomicio(write, fd, buffer_ptr(m), mlen) != mlen)          if (atomicio(vwrite, fd, buffer_ptr(m), mlen) != mlen)
                 fatal("ssh_msg_send: write");                  fatal("ssh_msg_send: write");
 }  }
   

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