summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2012-09-17 13:25:44 +1000
committerDarren Tucker <dtucker@zip.com.au>2012-09-17 13:25:44 +1000
commit26b9e3b0c5b2d303991fad61e453cc4f244054cd (patch)
treedbadc5349f0c30edb1eef33d9efddf219d7e4020
parentbb6cc07cf4e98d86b38a2011203c6bb724465135 (diff)
- markus@cvs.openbsd.org 2012/09/14 16:51:34
[sshconnect.c] remove unused variable
-rw-r--r--ChangeLog3
-rw-r--r--sshconnect.c4
2 files changed, 4 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index 83ec4298d..cd9edf8c2 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -3,6 +3,9 @@
3 - dtucker@cvs.openbsd.org 2012/09/13 23:37:36 3 - dtucker@cvs.openbsd.org 2012/09/13 23:37:36
4 [servconf.c] 4 [servconf.c]
5 Fix comment line length 5 Fix comment line length
6 - markus@cvs.openbsd.org 2012/09/14 16:51:34
7 [sshconnect.c]
8 remove unused variable
6 9
720120907 1020120907
8 - (dtucker) OpenBSD CVS Sync 11 - (dtucker) OpenBSD CVS Sync
diff --git a/sshconnect.c b/sshconnect.c
index 3d44b2e46..07800a65f 100644
--- a/sshconnect.c
+++ b/sshconnect.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: sshconnect.c,v 1.235 2012/08/17 01:30:00 djm Exp $ */ 1/* $OpenBSD: sshconnect.c,v 1.236 2012/09/14 16:51:34 markus Exp $ */
2/* 2/*
3 * Author: Tatu Ylonen <ylo@cs.hut.fi> 3 * Author: Tatu Ylonen <ylo@cs.hut.fi>
4 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland 4 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@@ -432,8 +432,6 @@ ssh_connect(const char *host, struct sockaddr_storage * hostaddr,
432static void 432static void
433send_client_banner(int connection_out, int minor1) 433send_client_banner(int connection_out, int minor1)
434{ 434{
435 char buf[256];
436
437 /* Send our own protocol version identification. */ 435 /* Send our own protocol version identification. */
438 if (compat20) { 436 if (compat20) {
439 xasprintf(&client_version_string, "SSH-%d.%d-%.100s\r\n", 437 xasprintf(&client_version_string, "SSH-%d.%d-%.100s\r\n",