summaryrefslogtreecommitdiffhomepage
path: root/cli-kex.c
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2009-09-01 16:38:26 +0000
committerMatt Johnston <matt@ucc.asn.au>2009-09-01 16:38:26 +0000
commitf88bed7a30d4c327b42dcd28ce7642ba74dfe592 (patch)
tree2ed69d42fbba50d167daf6e5142edb0980386d8e /cli-kex.c
parentccd02552ddf0fd0b7bfcc29d8c5eb38dd459c465 (diff)
Rearrange getaddrstring() etc
--HG-- extra : convert_revision : 8a18c4a60aeaec085923d13d98fa0f93c506ceba
Diffstat (limited to 'cli-kex.c')
-rw-r--r--cli-kex.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cli-kex.c b/cli-kex.c
index c4048ec..0d5a9d2 100644
--- a/cli-kex.c
+++ b/cli-kex.c
@@ -304,7 +304,7 @@ static void checkhostkey(unsigned char* keyblob, unsigned int keybloblen) {
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, ' ');