version 1.4.2.1, 2003/04/01 00:12:13 |
version 1.4.2.2, 2003/09/16 21:20:26 |
|
|
|
|
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"); |
} |
} |
|
|