From 63b00c83637c5c4f20bb6e4fb9ec2fb906d3c8a2 Mon Sep 17 00:00:00 2001 From: simon Date: Thu, 8 Mar 2001 10:07:22 +0000 Subject: [PATCH] Having introduced a new function into the SSH2 compression structure, it would help if I implemented it in the dummy no-compression case! git-svn-id: svn://svn.tartarus.org/sgt/putty@987 cda61777-01e9-0310-a592-d414129be87e --- ssh.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ssh.c b/ssh.c index 801f67f9..ea1fe02a 100644 --- a/ssh.c +++ b/ssh.c @@ -202,10 +202,12 @@ static int ssh_comp_none_block(unsigned char *block, int len, unsigned char **outblock, int *outlen) { return 0; } +static int ssh_comp_none_disable(void) { return 0; } const static struct ssh_compress ssh_comp_none = { "none", ssh_comp_none_init, ssh_comp_none_block, - ssh_comp_none_init, ssh_comp_none_block + ssh_comp_none_init, ssh_comp_none_block, + ssh_comp_none_disable }; extern const struct ssh_compress ssh_zlib; const static struct ssh_compress *compressions[] = { -- 2.11.0