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
be680066
Commit
be680066
authored
Sep 04, 2023
by
Hans Leidekker
Committed by
Alexandre Julliard
Sep 04, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
webservices/tests: Fully initialize xmlstr.
parent
9c238a5d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
reader.c
dlls/webservices/tests/reader.c
+2
-1
No files found.
dlls/webservices/tests/reader.c
View file @
be680066
...
@@ -4048,6 +4048,7 @@ static void test_WsResetError(void)
...
@@ -4048,6 +4048,7 @@ static void test_WsResetError(void)
WsFreeError
(
error
);
WsFreeError
(
error
);
memset
(
&
fault
,
0
,
sizeof
(
fault
)
);
memset
(
&
fault
,
0
,
sizeof
(
fault
)
);
memset
(
&
xmlstr
,
0
,
sizeof
(
xmlstr
)
);
xmlstr
.
bytes
=
(
BYTE
*
)
"str"
;
xmlstr
.
bytes
=
(
BYTE
*
)
"str"
;
xmlstr
.
length
=
3
;
xmlstr
.
length
=
3
;
...
@@ -4056,7 +4057,7 @@ static void test_WsResetError(void)
...
@@ -4056,7 +4057,7 @@ static void test_WsResetError(void)
hr
=
WsSetFaultErrorProperty
(
error
,
WS_FAULT_ERROR_PROPERTY_FAULT
,
&
fault
,
sizeof
(
fault
)
);
hr
=
WsSetFaultErrorProperty
(
error
,
WS_FAULT_ERROR_PROPERTY_FAULT
,
&
fault
,
sizeof
(
fault
)
);
ok
(
hr
==
S_OK
,
"got %#lx
\n
"
,
hr
);
ok
(
hr
==
S_OK
,
"got %#lx
\n
"
,
hr
);
hr
=
WsSetFaultErrorProperty
(
error
,
WS_FAULT_ERROR_PROPERTY_ACTION
,
&
xmlstr
,
sizeof
(
WS_XML_STRING
)
);
hr
=
WsSetFaultErrorProperty
(
error
,
WS_FAULT_ERROR_PROPERTY_ACTION
,
&
xmlstr
,
sizeof
(
xmlstr
)
);
ok
(
hr
==
S_OK
,
"got %#lx
\n
"
,
hr
);
ok
(
hr
==
S_OK
,
"got %#lx
\n
"
,
hr
);
hr
=
WsResetError
(
error
);
hr
=
WsResetError
(
error
);
...
...
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