diff cli-kex.c @ 568:005530560594

Rearrange getaddrstring() etc
author Matt Johnston <matt@ucc.asn.au>
date Tue, 01 Sep 2009 16:38:26 +0000
parents 9e51707cd6f2
children 2b1bb792cd4d 0fd32a552ea5 7fc0aeada79c
line wrap: on
line diff
--- a/cli-kex.c	Mon Aug 31 15:25:39 2009 +0000
+++ b/cli-kex.c	Tue Sep 01 16:38:26 2009 +0000
@@ -304,7 +304,7 @@
 		fseek(hostsfile, 0, SEEK_END); /* In case it wasn't opened append */
 		buf_setpos(line, 0);
 		buf_setlen(line, 0);
-		buf_putbytes(line, ses.remotehost, hostlen);
+		buf_putbytes(line, cli_opts.remotehost, hostlen);
 		buf_putbyte(line, ' ');
 		buf_putbytes(line, algoname, algolen);
 		buf_putbyte(line, ' ');