Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
9b95bb52
Commit
9b95bb52
authored
Jun 13, 2005
by
Mike McCormack
Committed by
Alexandre Julliard
Jun 13, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix some warnings.
parent
4a109c78
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
20 additions
and
19 deletions
+20
-19
ftp.c
dlls/wininet/ftp.c
+1
-1
http.c
dlls/wininet/http.c
+2
-2
internet.c
dlls/wininet/internet.c
+1
-4
internet.h
dlls/wininet/internet.h
+3
-0
http.c
dlls/wininet/tests/http.c
+11
-10
urlcache.c
dlls/wininet/urlcache.c
+2
-2
No files found.
dlls/wininet/ftp.c
View file @
9b95bb52
...
...
@@ -1854,7 +1854,7 @@ lend:
* NULL on failure
*
*/
BOOL
FTP_SendCommandA
(
INT
nSocket
,
FTP_COMMAND
ftpCmd
,
LPCSTR
lpszParam
,
static
BOOL
FTP_SendCommandA
(
INT
nSocket
,
FTP_COMMAND
ftpCmd
,
LPCSTR
lpszParam
,
INTERNET_STATUS_CALLBACK
lpfnStatusCB
,
LPWININETHANDLEHEADER
hdr
,
DWORD
dwContext
)
{
DWORD
len
;
...
...
dlls/wininet/http.c
View file @
9b95bb52
...
...
@@ -490,7 +490,7 @@ end:
static
UINT
HTTP_Base64
(
LPCWSTR
bin
,
LPWSTR
base64
)
{
UINT
n
=
0
,
x
;
static
LPSTR
HTTP_Base64Enc
=
static
LP
C
STR
HTTP_Base64Enc
=
"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"
;
while
(
bin
[
0
]
)
...
...
@@ -840,7 +840,7 @@ lend:
/***********************************************************************
* HTTP_HttpQueryInfoW (internal)
*/
BOOL
WINAPI
HTTP_HttpQueryInfoW
(
LPWININETHTTPREQW
lpwhr
,
DWORD
dwInfoLevel
,
static
BOOL
WINAPI
HTTP_HttpQueryInfoW
(
LPWININETHTTPREQW
lpwhr
,
DWORD
dwInfoLevel
,
LPVOID
lpBuffer
,
LPDWORD
lpdwBufferLength
,
LPDWORD
lpdwIndex
)
{
LPHTTPHEADERW
lphttpHdr
=
NULL
;
...
...
dlls/wininet/internet.c
View file @
9b95bb52
...
...
@@ -102,9 +102,6 @@ static LPWORKREQUEST lpHeadWorkQueue;
static
LPWORKREQUEST
lpWorkQueueTail
;
static
HMODULE
WININET_hModule
;
extern
void
URLCacheContainers_CreateDefaults
(
void
);
extern
void
URLCacheContainers_DeleteAll
(
void
);
#define HANDLE_CHUNK_SIZE 0x10
static
CRITICAL_SECTION
WININET_cs
;
...
...
@@ -373,7 +370,7 @@ static BOOL INTERNET_ConfigureProxyFromReg( LPWININETAPPINFOW lpwai )
{
HKEY
key
;
DWORD
r
,
keytype
,
len
,
enabled
;
LPSTR
lpszInternetSettings
=
LP
C
STR
lpszInternetSettings
=
"Software
\\
Microsoft
\\
Windows
\\
CurrentVersion
\\
Internet Settings"
;
static
const
WCHAR
szProxyServer
[]
=
{
'P'
,
'r'
,
'o'
,
'x'
,
'y'
,
'S'
,
'e'
,
'r'
,
'v'
,
'e'
,
'r'
,
0
};
...
...
dlls/wininet/internet.h
View file @
9b95bb52
...
...
@@ -469,6 +469,9 @@ BOOL NETCON_recv(WININET_NETCONNECTION *connection, void *buf, size_t len, int f
int
*
recvd
/* out */
);
BOOL
NETCON_getNextLine
(
WININET_NETCONNECTION
*
connection
,
LPSTR
lpszBuffer
,
LPDWORD
dwBuffer
);
extern
void
URLCacheContainers_CreateDefaults
(
void
);
extern
void
URLCacheContainers_DeleteAll
(
void
);
#define MAX_REPLY_LEN 0x5B4
/* Used for debugging - maybe need to be shared in the Wine debugging code ? */
...
...
dlls/wininet/tests/http.c
View file @
9b95bb52
...
...
@@ -19,7 +19,7 @@
int
goon
=
0
;
VOID
WINAPI
callback
(
static
VOID
WINAPI
callback
(
HINTERNET
hInternet
,
DWORD
dwContext
,
DWORD
dwInternetStatus
,
...
...
@@ -85,10 +85,11 @@ VOID WINAPI callback(
break
;
}
trace
(
"Callback %p 0x%lx %s(%li) %p %ld
\n
"
,
hInternet
,
dwContext
,
name
,
dwInternetStatus
,
lpvStatusInformation
,
dwStatusInformationLength
);
trace
(
"Callback %p 0x%lx %s(%li) %p %ld
\n
"
,
hInternet
,
dwContext
,
name
,
dwInternetStatus
,
lpvStatusInformation
,
dwStatusInformationLength
);
}
void
winapi_test
(
int
flags
)
static
void
winapi_test
(
int
flags
)
{
DWORD
rc
;
CHAR
buffer
[
4000
];
...
...
@@ -216,7 +217,7 @@ abort:
}
}
void
InternetOpenUrlA_test
(
void
)
static
void
InternetOpenUrlA_test
(
void
)
{
HINTERNET
myhinternet
,
myhttp
;
char
buffer
[
0x400
];
...
...
@@ -261,7 +262,7 @@ void InternetOpenUrlA_test(void)
trace
(
"read 0x%08lx bytes
\n
"
,
totalbytes
);
}
void
InternetCrackUrl_test
(
void
)
static
void
InternetCrackUrl_test
(
void
)
{
URL_COMPONENTSA
urlComponents
;
char
protocol
[
32
],
hostName
[
1024
],
userName
[
1024
];
...
...
@@ -328,7 +329,7 @@ void InternetCrackUrl_test(void)
ok
(
InternetCrackUrlA
(
TEST_URL3
,
0
,
ICU_DECODE
,
&
urlComponents
),
"InternetCrackUrl failed with GLE 0x%lx
\n
"
,
GetLastError
());
}
void
InternetCrackUrlW_test
(
void
)
static
void
InternetCrackUrlW_test
(
void
)
{
WCHAR
url
[]
=
{
'h'
,
't'
,
't'
,
'p'
,
':'
,
'/'
,
'/'
,
'1'
,
'9'
,
'2'
,
'.'
,
'1'
,
'6'
,
'8'
,
'.'
,
'0'
,
'.'
,
'2'
,
'2'
,
'/'
,
...
...
@@ -416,7 +417,7 @@ void InternetCrackUrlW_test(void)
ok
(
comp
.
dwExtraInfoLength
==
29
,
"extra length wrong
\n
"
);
}
static
void
InternetTimeFromSystemTimeA_test
()
static
void
InternetTimeFromSystemTimeA_test
(
void
)
{
BOOL
ret
;
static
const
SYSTEMTIME
time
=
{
2005
,
1
,
5
,
7
,
12
,
6
,
35
,
0
};
...
...
@@ -430,7 +431,7 @@ static void InternetTimeFromSystemTimeA_test()
"InternetTimeFromSystemTimeA failed (%ld)
\n
"
,
GetLastError
()
);
}
static
void
InternetTimeFromSystemTimeW_test
()
static
void
InternetTimeFromSystemTimeW_test
(
void
)
{
BOOL
ret
;
static
const
SYSTEMTIME
time
=
{
2005
,
1
,
5
,
7
,
12
,
6
,
35
,
0
};
...
...
@@ -445,7 +446,7 @@ static void InternetTimeFromSystemTimeW_test()
"InternetTimeFromSystemTimeW failed (%ld)
\n
"
,
GetLastError
()
);
}
static
void
InternetTimeToSystemTimeA_test
()
static
void
InternetTimeToSystemTimeA_test
(
void
)
{
BOOL
ret
;
SYSTEMTIME
time
;
...
...
@@ -464,7 +465,7 @@ static void InternetTimeToSystemTimeA_test()
"InternetTimeToSystemTimeA failed (%ld)
\n
"
,
GetLastError
()
);
}
static
void
InternetTimeToSystemTimeW_test
()
static
void
InternetTimeToSystemTimeW_test
(
void
)
{
BOOL
ret
;
SYSTEMTIME
time
;
...
...
dlls/wininet/urlcache.c
View file @
9b95bb52
...
...
@@ -548,7 +548,7 @@ static void URLCacheContainer_DeleteContainer(URLCACHECONTAINER * pContainer)
HeapFree
(
GetProcessHeap
(),
0
,
pContainer
);
}
void
URLCacheContainers_CreateDefaults
()
void
URLCacheContainers_CreateDefaults
(
void
)
{
static
const
WCHAR
UrlSuffix
[]
=
{
'C'
,
'o'
,
'n'
,
't'
,
'e'
,
'n'
,
't'
,
'.'
,
'I'
,
'E'
,
'5'
,
0
};
static
const
WCHAR
UrlPrefix
[]
=
{
0
};
...
...
@@ -604,7 +604,7 @@ void URLCacheContainers_CreateDefaults()
}
}
void
URLCacheContainers_DeleteAll
()
void
URLCacheContainers_DeleteAll
(
void
)
{
while
(
!
list_empty
(
&
UrlContainers
))
URLCacheContainer_DeleteContainer
(
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment