From dd41035a4d71057108da8c7b5e1876cc02b4995c Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Tue, 1 Jul 2008 19:47:02 +0000 Subject: Protocol versioning, version is checked on identify message. --- client.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'client.c') diff --git a/client.c b/client.c index 308c1067..a55b8e22 100644 --- a/client.c +++ b/client.c @@ -1,4 +1,4 @@ -/* $Id: client.c,v 1.33 2008-06-23 16:58:49 nicm Exp $ */ +/* $Id: client.c,v 1.34 2008-07-01 19:47:02 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott @@ -93,6 +93,7 @@ retry: if (isatty(STDIN_FILENO)) { if (ioctl(STDIN_FILENO, TIOCGWINSZ, &ws) == -1) fatal("ioctl(TIOCGWINSZ)"); + data.version = PROTOCOL_VERSION; data.sx = ws.ws_col; data.sy = ws.ws_row; *data.tty = '\0'; -- cgit