Get rid of client/server specific buf_match_algo, use single

function with a couple of if statements instead

--HG--
branch : kexguess
This commit is contained in:
Matt Johnston
2013-03-30 23:55:05 +08:00
parent 99d9cf500b
commit 9c7485331a
9 changed files with 128 additions and 267 deletions

View File

@@ -148,7 +148,6 @@ static void cli_session_init() {
/* 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;