comparison cli-kex.c @ 743:09c5eb71ec96 kexguess

merge from head roundtrip changes
author Matt Johnston <matt@ucc.asn.au>
date Mon, 01 Apr 2013 00:13:41 +0800
parents d44325108d0e 9a5438271556
children 15999b098cc9
comparison
equal deleted inserted replaced
742:cd201dc2da9a 743:09c5eb71ec96
245 } 245 }
246 246
247 /* Compare hostnames */ 247 /* Compare hostnames */
248 if (strncmp(cli_opts.remotehost, buf_getptr(line, hostlen), 248 if (strncmp(cli_opts.remotehost, buf_getptr(line, hostlen),
249 hostlen) != 0) { 249 hostlen) != 0) {
250 TRACE(("hosts don't match")) 250 TRACE2(("hosts don't match"))
251 continue; 251 continue;
252 } 252 }
253 253
254 buf_incrpos(line, hostlen); 254 buf_incrpos(line, hostlen);
255 if (buf_getbyte(line) != ' ') { 255 if (buf_getbyte(line) != ' ') {