Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
328acc81
Commit
328acc81
authored
Aug 29, 2011
by
André Hentschel
Committed by
Alexandre Julliard
Aug 30, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rpcrt4/tests: Fix NULL string handling in an ok() check.
parent
fe3f2e32
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
4 deletions
+8
-4
rpc.c
dlls/rpcrt4/tests/rpc.c
+8
-4
No files found.
dlls/rpcrt4/tests/rpc.c
View file @
328acc81
...
...
@@ -594,8 +594,10 @@ static void test_RpcStringBindingParseA(void)
ok
(
!
strcmp
((
char
*
)
protseq
,
"ncacn_np"
),
"protseq should have been ncacn_np instead of %s
\n
"
,
protseq
);
ok
(
!
strcmp
((
char
*
)
network_addr
,
"."
),
"network_addr should have been . instead of %s
\n
"
,
network_addr
);
ok
(
!
strcmp
((
char
*
)
endpoint
,
"pipetest"
),
"endpoint should have been pipetest instead of %s
\n
"
,
endpoint
);
todo_wine
ok
(
options
&&
!
strcmp
((
char
*
)
options
,
""
),
"options should have been
\"\"
of
\"
%s
\"\n
"
,
options
);
if
(
options
)
ok
(
!
strcmp
((
char
*
)
options
,
""
),
"options should have been
\"\"
of
\"
%s
\"\n
"
,
options
);
else
todo_wine
ok
(
FALSE
,
"options is NULL
\n
"
);
RpcStringFreeA
(
&
uuid
);
RpcStringFreeA
(
&
protseq
);
RpcStringFreeA
(
&
network_addr
);
...
...
@@ -609,8 +611,10 @@ static void test_RpcStringBindingParseA(void)
ok
(
!
strcmp
((
char
*
)
protseq
,
"ncacn_np"
),
"protseq should have been ncacn_np instead of %s
\n
"
,
protseq
);
ok
(
!
strcmp
((
char
*
)
network_addr
,
"."
),
"network_addr should have been . instead of %s
\n
"
,
network_addr
);
ok
(
!
strcmp
((
char
*
)
endpoint
,
"pipetest"
),
"endpoint should have been pipetest instead of %s
\n
"
,
endpoint
);
todo_wine
ok
(
options
&&
!
strcmp
((
char
*
)
options
,
""
),
"options should have been
\"\"
of
\"
%s
\"\n
"
,
options
);
if
(
options
)
ok
(
!
strcmp
((
char
*
)
options
,
""
),
"options should have been
\"\"
of
\"
%s
\"\n
"
,
options
);
else
todo_wine
ok
(
FALSE
,
"options is NULL
\n
"
);
RpcStringFreeA
(
&
uuid
);
RpcStringFreeA
(
&
protseq
);
RpcStringFreeA
(
&
network_addr
);
...
...
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