Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
ISC Open Source Projects
DNS-Compliance-Testing
Commits
6af4975e
Commit
6af4975e
authored
Dec 02, 2016
by
Mark Andrews
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
document references
parent
dbfaeea7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
1 deletion
+16
-1
genreport.c
genreport.c
+16
-1
No files found.
genreport.c
View file @
6af4975e
...
...
@@ -753,6 +753,9 @@ check(char *zone, char *ns, char *address, struct summary *parent) {
if
(
summary
==
NULL
)
return
;
/*
* Hold a reference until all the tests have been initiated.
*/
summary
->
tests
++
;
if
(
parent
)
INSERTBEFORE
(
summaries
,
parent
,
summary
,
link
);
...
...
@@ -782,7 +785,7 @@ check(char *zone, char *ns, char *address, struct summary *parent) {
item
->
test
=
i
;
dotest
(
item
);
}
report
(
summary
);
report
(
summary
);
/* Release reference. */
}
static
char
*
...
...
@@ -954,6 +957,9 @@ lookupa(char *zone, char *ns, struct summary *parent) {
APPEND
(
summaries
,
summary
,
link
);
item
->
summary
=
summary
;
/*
* Hold a reference so that caller can xlink.
*/
summary
->
tests
++
;
dolookup
(
item
,
ns_t_a
);
return
(
summary
);
...
...
@@ -994,6 +1000,9 @@ lookupaaaa(char *zone, char *ns, struct summary *parent) {
APPEND
(
summaries
,
summary
,
link
);
item
->
summary
=
summary
;
/*
* Hold a reference so that caller can xlink.
*/
summary
->
tests
++
;
dolookup
(
item
,
ns_t_aaaa
);
return
(
summary
);
...
...
@@ -1189,6 +1198,9 @@ process(struct workitem *item, unsigned char *buf, int n) {
summarya
->
xlink
=
summaryaaaa
;
summaryaaaa
->
xlink
=
summarya
;
}
/*
* Release references.
*/
if
(
summarya
)
report
(
summarya
);
if
(
summaryaaaa
)
report
(
summaryaaaa
);
}
...
...
@@ -1599,6 +1611,9 @@ readstdin(int fd) {
summarya
->
xlink
=
summaryaaaa
;
summaryaaaa
->
xlink
=
summarya
;
}
/*
* Release references.
*/
if
(
summarya
)
report
(
summarya
);
if
(
summaryaaaa
)
report
(
summaryaaaa
);
}
...
...
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