Andrey Gusev : winhttp: Remove redundant comparison.
Alexandre Julliard
julliard at winehq.org
Thu Oct 5 14:59:34 CDT 2017
Module: wine
Branch: master
Commit: 8fc6b58df4b3b399780bfd10103276f49a813560
URL: http://source.winehq.org/git/wine.git/?a=commit;h=8fc6b58df4b3b399780bfd10103276f49a813560
Author: Andrey Gusev <andrey.goosev at gmail.com>
Date: Thu Oct 5 11:00:46 2017 +0300
winhttp: Remove redundant comparison.
Signed-off-by: Andrey Gusev <andrey.goosev at gmail.com>
Signed-off-by: Hans Leidekker <hans at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at 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--;
More information about the wine-cvs
mailing list