From eb558c4403fb344972e0f106ab32a2f1eab771ca Mon Sep 17 00:00:00 2001 From: Michael Stefaniuc Date: Mon, 17 May 2010 01:11:43 +0200 Subject: [PATCH] winhttp: Remove redundant "not 0" test of argument len. --- dlls/winhttp/net.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/winhttp/net.c b/dlls/winhttp/net.c index 455ee55580..5890c06748 100644 --- a/dlls/winhttp/net.c +++ b/dlls/winhttp/net.c @@ -736,7 +736,7 @@ BOOL netconn_recv( netconn_t *conn, void *buf, size_t len, int flags, int *recvd } else memcpy( conn->peek_msg, buf, *recvd ); } - if (*recvd < 1 && len) return FALSE; + if (*recvd < 1) return FALSE; return TRUE; #else return FALSE;