summaryrefslogtreecommitdiff
path: root/sshconnect.c
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 /sshconnect.c
parentbb6cc07cf4e98d86b38a2011203c6bb724465135 (diff)
- markus@cvs.openbsd.org 2012/09/14 16:51:34
[sshconnect.c] remove unused variable
Diffstat (limited to 'sshconnect.c')
-rw-r--r--sshconnect.c4
1 files changed, 1 insertions, 3 deletions
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",