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
ad906531
Commit
ad906531
authored
Dec 21, 2013
by
Frédéric Delanoy
Committed by
Alexandre Julliard
Dec 23, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dnsapi/tests: Constify a character string.
parent
90d1e947
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
16 deletions
+16
-16
name.c
dlls/dnsapi/tests/name.c
+16
-16
No files found.
dlls/dnsapi/tests/name.c
View file @
ad906531
...
...
@@ -154,22 +154,22 @@ static void test_DnsValidateName_A( void )
static
void
test_DnsNameCompare_A
(
void
)
{
static
CHAR
empty
[]
=
""
,
dot
[]
=
"."
,
dotdot
[]
=
".."
,
A
[]
=
"A"
,
a
[]
=
"a"
,
B
[]
=
"B"
,
b
[]
=
"b"
,
A_dot_B
[]
=
"A.B"
,
a_dot_a
[]
=
"a.a"
,
a_dot_b
[]
=
"a.b"
,
a_dot_b_dot
[]
=
"a.b."
,
a_dot_b_dotdot
[]
=
"a.b.."
,
B_dot_A
[]
=
"B.A"
,
b_dot_a
[]
=
"b.a"
,
b_dot_a_dot
[]
=
"b.a."
,
b_dot_a_dotdot
[]
=
"b.a.."
;
static
const
CHAR
empty
[]
=
""
,
dot
[]
=
"."
,
dotdot
[]
=
".."
,
A
[]
=
"A"
,
a
[]
=
"a"
,
B
[]
=
"B"
,
b
[]
=
"b"
,
A_dot_B
[]
=
"A.B"
,
a_dot_a
[]
=
"a.a"
,
a_dot_b
[]
=
"a.b"
,
a_dot_b_dot
[]
=
"a.b."
,
a_dot_b_dotdot
[]
=
"a.b.."
,
B_dot_A
[]
=
"B.A"
,
b_dot_a
[]
=
"b.a"
,
b_dot_a_dot
[]
=
"b.a."
,
b_dot_a_dotdot
[]
=
"b.a.."
;
ok
(
DnsNameCompare_A
(
NULL
,
NULL
)
==
TRUE
,
"failed unexpectedly
\n
"
);
...
...
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