From 8fc6b58df4b3b399780bfd10103276f49a813560 Mon Sep 17 00:00:00 2001 From: Andrey Gusev Date: Thu, 5 Oct 2017 11:00:46 +0300 Subject: [PATCH] winhttp: Remove redundant comparison. Signed-off-by: Andrey Gusev Signed-off-by: Hans Leidekker Signed-off-by: Alexandre Julliard --- dlls/winhttp/cookie.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/winhttp/cookie.c b/dlls/winhttp/cookie.c index 5ec4f0b6e3b..b4b25304f7f 100644 --- a/dlls/winhttp/cookie.c +++ b/dlls/winhttp/cookie.c @@ -152,7 +152,7 @@ static cookie_t *parse_cookie( const WCHAR *string ) if (*p++ == '=') { - while (*p && *p == ' ') p++; + while (*p == ' ') p++; len = strlenW( p ); while (len && p[len - 1] == ' ') len--;