wininet: Fix the spelling of an InternetQueryDataAvailable() parameter.

This commit is contained in:
Francois Gouget 2012-05-15 09:47:01 +02:00 committed by Alexandre Julliard
parent 7796895b74
commit d0579d02cc
1 changed files with 3 additions and 3 deletions

View File

@ -3833,13 +3833,13 @@ lend:
* data is available.
*/
BOOL WINAPI InternetQueryDataAvailable( HINTERNET hFile,
LPDWORD lpdwNumberOfBytesAvailble,
LPDWORD lpdwNumberOfBytesAvailable,
DWORD dwFlags, DWORD_PTR dwContext)
{
object_header_t *hdr;
DWORD res;
TRACE("(%p %p %x %lx)\n", hFile, lpdwNumberOfBytesAvailble, dwFlags, dwContext);
TRACE("(%p %p %x %lx)\n", hFile, lpdwNumberOfBytesAvailable, dwFlags, dwContext);
hdr = get_handle_object( hFile );
if (!hdr) {
@ -3848,7 +3848,7 @@ BOOL WINAPI InternetQueryDataAvailable( HINTERNET hFile,
}
if(hdr->vtbl->QueryDataAvailable) {
res = hdr->vtbl->QueryDataAvailable(hdr, lpdwNumberOfBytesAvailble, dwFlags, dwContext);
res = hdr->vtbl->QueryDataAvailable(hdr, lpdwNumberOfBytesAvailable, dwFlags, dwContext);
}else {
WARN("wrong handle\n");
res = ERROR_INTERNET_INCORRECT_HANDLE_TYPE;