diff cli-session.c @ 741:eafdf8b363f5 kexguess

Get rid of client/server specific buf_match_algo, use single function with a couple of if statements instead
author Matt Johnston <matt@ucc.asn.au>
date Sat, 30 Mar 2013 23:55:05 +0800
parents d44325108d0e
children cd201dc2da9a
line wrap: on
line diff
--- a/cli-session.c	Fri Mar 29 23:29:48 2013 +0800
+++ b/cli-session.c	Sat Mar 30 23:55:05 2013 +0800
@@ -148,7 +148,6 @@
 
 	/* For printing "remote host closed" for the user */
 	ses.remoteclosed = cli_remoteclosed;
-	ses.buf_match_algo = cli_buf_match_algo;
 
 	/* packet handlers */
 	ses.packettypes = cli_packettypes;