summaryrefslogtreecommitdiff
path: root/usr.bin/tmux/server-msg.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/tmux/server-msg.c')
-rw-r--r--usr.bin/tmux/server-msg.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/tmux/server-msg.c b/usr.bin/tmux/server-msg.c
index 2bd6ef813cc..17b67b6554a 100644
--- a/usr.bin/tmux/server-msg.c
+++ b/usr.bin/tmux/server-msg.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: server-msg.c,v 1.3 2009/06/05 11:14:13 nicm Exp $ */
+/* $OpenBSD: server-msg.c,v 1.4 2009/07/07 12:34:47 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -189,6 +189,7 @@ server_msg_fn_identify(struct hdr *hdr, struct client *c)
#define MSG "protocol version mismatch"
server_write_client(c, MSG_ERROR, MSG, (sizeof MSG) - 1);
#undef MSG
+ server_write_client(c, MSG_EXIT, NULL, 0);
return (0);
}