Module: wine Branch: refs/heads/master Commit: 746bf215e067e97c887b290dca6fd6cf807dc391 URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=746bf215e067e97c887b290d...
Author: Mike McCormack mike@codeweavers.com Date: Fri May 12 19:37:28 2006 +0900
wininet: Remove broken code for HTTP_QUERY_FLAG_COALESCE, which is unimplemented according to MSDN.
---
dlls/wininet/http.c | 12 ------------ 1 files changed, 0 insertions(+), 12 deletions(-)
diff --git a/dlls/wininet/http.c b/dlls/wininet/http.c index e93a4d7..fb5d139 100644 --- a/dlls/wininet/http.c +++ b/dlls/wininet/http.c @@ -1453,18 +1453,6 @@ static BOOL WINAPI HTTP_HttpQueryInfoW( STHook->wYear, STHook->wMonth, STHook->wDay, STHook->wDayOfWeek, STHook->wHour, STHook->wMinute, STHook->wSecond, STHook->wMilliseconds); } - else if (dwInfoLevel & HTTP_QUERY_FLAG_COALESCE) - { - if (*lpdwIndex >= lphttpHdr->wCount) - { - INTERNET_SetLastError(ERROR_HTTP_HEADER_NOT_FOUND); - } - else - { - /* Copy strncpyW(lpBuffer, lphttpHdr[*lpdwIndex], len); */ - (*lpdwIndex)++; - } - } else if (lphttpHdr->lpszValue) { DWORD len = (strlenW(lphttpHdr->lpszValue) + 1) * sizeof(WCHAR);