X-Git-Url: https://git.distorted.org.uk/u/mdw/putty/blobdiff_plain/af282e3b62c5113c046a9ef88ff1f36f24e0b04f..cdcbdf3b83c8a1e4db0b149e818cd24e3596cf2c:/ssh.c diff --git a/ssh.c b/ssh.c index efc28ef6..b0f16518 100644 --- a/ssh.c +++ b/ssh.c @@ -507,7 +507,7 @@ static int ssh_rportcmp_ssh2(void *av, void *bv) { struct ssh_rportfwd *a = (struct ssh_rportfwd *) av; struct ssh_rportfwd *b = (struct ssh_rportfwd *) bv; - int i; + if (a->sport > b->sport) return +1; if (a->sport < b->sport)