Module: wine Branch: master Commit: 8fc6b58df4b3b399780bfd10103276f49a813560 URL: http://source.winehq.org/git/wine.git/?a=commit;h=8fc6b58df4b3b399780bfd1010...
Author: Andrey Gusev andrey.goosev@gmail.com Date: Thu Oct 5 11:00:46 2017 +0300
winhttp: Remove redundant comparison.
Signed-off-by: Andrey Gusev andrey.goosev@gmail.com Signed-off-by: Hans Leidekker hans@codeweavers.com Signed-off-by: Alexandre Julliard julliard@winehq.org
---
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 5ec4f0b..b4b2530 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--;