From 9318800643434b94f7c48be222407a4ca4b91987 Mon Sep 17 00:00:00 2001 From: Owen Dunn Date: Tue, 18 Jan 2005 19:09:02 +0000 Subject: [PATCH] Yes we do mean assignment. Bah. [originally from svn r5135] --- ssh.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ssh.c b/ssh.c index 1a95069f..b986c1eb 100644 --- a/ssh.c +++ b/ssh.c @@ -5799,7 +5799,7 @@ static void ssh2_msg_channel_request(Ssh ssh, struct Packet *pktin) if (q >= 0 && q+4 <= len) { \ q = q + 4 + GET_32BIT(p+q); \ if (q >= 0 && q+4 <= len && \ - (q = q + 4 + GET_32BIT(p+q)) && q == len) \ + ((q = q + 4 + GET_32BIT(p+q))!= 0) && q == len) \ result = TRUE; \ } \ } while(0)