From 7685dad81d1b257b2c1f09c2084dcb88ab91591e Mon Sep 17 00:00:00 2001 From: Juan Lang Date: Thu, 3 Mar 2011 08:55:32 -0800 Subject: [PATCH] wininet: Remove a no-op trinary expression. --- dlls/wininet/http.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/wininet/http.c b/dlls/wininet/http.c index 9bcc4208064..1f9b6113799 100644 --- a/dlls/wininet/http.c +++ b/dlls/wininet/http.c @@ -3976,7 +3976,7 @@ static void HTTP_CacheRequest(http_request_t *request) return; } - b = CreateUrlCacheEntryW(url, request->contentLength > 0 ? request->contentLength : 0, NULL, cacheFileName, 0); + b = CreateUrlCacheEntryW(url, request->contentLength, NULL, cacheFileName, 0); if(b) { HeapFree(GetProcessHeap(), 0, request->cacheFile); CloseHandle(request->hCacheFile);