wininet: Remove a no-op trinary expression.

This commit is contained in:
Juan Lang 2011-03-03 08:55:32 -08:00 committed by Alexandre Julliard
parent 28e9229336
commit 7685dad81d
1 changed files with 1 additions and 1 deletions

View File

@ -3976,7 +3976,7 @@ static void HTTP_CacheRequest(http_request_t *request)
return; return;
} }
b = CreateUrlCacheEntryW(url, request->contentLength > 0 ? request->contentLength : 0, NULL, cacheFileName, 0); b = CreateUrlCacheEntryW(url, request->contentLength, NULL, cacheFileName, 0);
if(b) { if(b) {
HeapFree(GetProcessHeap(), 0, request->cacheFile); HeapFree(GetProcessHeap(), 0, request->cacheFile);
CloseHandle(request->hCacheFile); CloseHandle(request->hCacheFile);