summaryrefslogtreecommitdiffstats
path: root/usr.bin/ssh/msg.c
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2002-06-19 00:27:55 +0000
committerderaadt <deraadt@openbsd.org>2002-06-19 00:27:55 +0000
commit4d92f097ed8083b0e7cbdd57c0cb4ff45b4a21e6 (patch)
treee6816e2b604bc2ba3e22316841a95a9d703be8a8 /usr.bin/ssh/msg.c
parentpull in missing includes (diff)
downloadwireguard-openbsd-4d92f097ed8083b0e7cbdd57c0cb4ff45b4a21e6.tar.xz
wireguard-openbsd-4d92f097ed8083b0e7cbdd57c0cb4ff45b4a21e6.zip
KNF done automatically while reading....
Diffstat (limited to 'usr.bin/ssh/msg.c')
-rw-r--r--usr.bin/ssh/msg.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/ssh/msg.c b/usr.bin/ssh/msg.c
index a159aae84a7..103aed2cde2 100644
--- a/usr.bin/ssh/msg.c
+++ b/usr.bin/ssh/msg.c
@@ -22,7 +22,7 @@
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#include "includes.h"
-RCSID("$OpenBSD: msg.c,v 1.1 2002/05/23 19:24:30 markus Exp $");
+RCSID("$OpenBSD: msg.c,v 1.2 2002/06/19 00:27:55 deraadt Exp $");
#include "buffer.h"
#include "getput.h"
@@ -39,7 +39,7 @@ msg_send(int fd, u_char type, Buffer *m)
debug3("msg_send: type %d", type);
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))
fatal("msg_send: write");
if (atomicio(write, fd, buffer_ptr(m), mlen) != mlen)