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
c54a2480
Commit
c54a2480
authored
Oct 05, 2006
by
Andrew Talbot
Committed by
Alexandre Julliard
Oct 06, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wininet/tests: Cast-qual warning fix.
parent
8be92001
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
http.c
dlls/wininet/tests/http.c
+3
-3
No files found.
dlls/wininet/tests/http.c
View file @
c54a2480
...
@@ -579,9 +579,9 @@ static void HttpSendRequestEx_test(void)
...
@@ -579,9 +579,9 @@ static void HttpSendRequestEx_test(void)
int
i
;
int
i
;
BOOL
ret
;
BOOL
ret
;
static
c
onst
c
har
szPostData
[]
=
"mode=Test"
;
static
char
szPostData
[]
=
"mode=Test"
;
static
const
char
szContentType
[]
=
"Content-Type: application/x-www-form-urlencoded"
;
static
const
char
szContentType
[]
=
"Content-Type: application/x-www-form-urlencoded"
;
hSession
=
InternetOpen
(
"Wine Regression Test"
,
hSession
=
InternetOpen
(
"Wine Regression Test"
,
INTERNET_OPEN_TYPE_PRECONFIG
,
NULL
,
NULL
,
0
);
INTERNET_OPEN_TYPE_PRECONFIG
,
NULL
,
NULL
,
0
);
ok
(
hSession
!=
NULL
,
"Unable to open Internet session
\n
"
);
ok
(
hSession
!=
NULL
,
"Unable to open Internet session
\n
"
);
...
@@ -604,7 +604,7 @@ static void HttpSendRequestEx_test(void)
...
@@ -604,7 +604,7 @@ static void HttpSendRequestEx_test(void)
BufferIn
.
lpcszHeader
=
szContentType
;
BufferIn
.
lpcszHeader
=
szContentType
;
BufferIn
.
dwHeadersLength
=
sizeof
(
szContentType
);
BufferIn
.
dwHeadersLength
=
sizeof
(
szContentType
);
BufferIn
.
dwHeadersTotal
=
sizeof
(
szContentType
);
BufferIn
.
dwHeadersTotal
=
sizeof
(
szContentType
);
BufferIn
.
lpvBuffer
=
(
LPVOID
)
szPostData
;
BufferIn
.
lpvBuffer
=
szPostData
;
BufferIn
.
dwBufferLength
=
3
;
BufferIn
.
dwBufferLength
=
3
;
BufferIn
.
dwBufferTotal
=
sizeof
(
szPostData
)
-
1
;
BufferIn
.
dwBufferTotal
=
sizeof
(
szPostData
)
-
1
;
BufferIn
.
dwOffsetLow
=
0
;
BufferIn
.
dwOffsetLow
=
0
;
...
...
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