Commit 7685dad8 authored by Juan Lang's avatar Juan Lang Committed by Alexandre Julliard

wininet: Remove a no-op trinary expression.

parent 28e92293
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment