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
a9328088
Commit
a9328088
authored
May 09, 2006
by
Hans Leidekker
Committed by
Alexandre Julliard
May 09, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dnsapi: The ttl value should be ignored when comparing dns records.
parent
c8a6b63d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletion
+3
-1
record.c
dlls/dnsapi/record.c
+0
-1
record.c
dlls/dnsapi/tests/record.c
+3
-0
No files found.
dlls/dnsapi/record.c
View file @
a9328088
...
...
@@ -134,7 +134,6 @@ BOOL WINAPI DnsRecordCompare( PDNS_RECORD r1, PDNS_RECORD r2 )
if
(
r1
->
wType
!=
r2
->
wType
||
r1
->
wDataLength
!=
r2
->
wDataLength
||
r1
->
Flags
.
DW
!=
r2
->
Flags
.
DW
||
r1
->
dwTtl
!=
r2
->
dwTtl
||
r1
->
dwReserved
!=
r2
->
dwReserved
)
return
FALSE
;
wide
=
(
r1
->
Flags
.
S
.
CharSet
==
DnsCharSetUnicode
)
?
TRUE
:
FALSE
;
...
...
dlls/dnsapi/tests/record.c
View file @
a9328088
...
...
@@ -65,6 +65,9 @@ static void test_DnsRecordCompare( void )
r1
.
Flags
.
S
.
CharSet
=
DnsCharSetAnsi
;
ok
(
pDnsRecordCompare
(
(
PDNS_RECORD
)
&
r1
,
(
PDNS_RECORD
)
&
r2
)
==
TRUE
,
"failed unexpectedly
\n
"
);
r1
.
dwTtl
=
0
;
ok
(
pDnsRecordCompare
(
(
PDNS_RECORD
)
&
r1
,
(
PDNS_RECORD
)
&
r2
)
==
TRUE
,
"failed unexpectedly
\n
"
);
r2
.
Data
.
A
.
IpAddress
=
0
;
ok
(
pDnsRecordCompare
(
(
PDNS_RECORD
)
&
r1
,
(
PDNS_RECORD
)
&
r2
)
==
FALSE
,
"succeeded 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