BIND 10 master, updated. bc436f1f6715aabcc62c468fa6cfd7d3bf694f29 [master] trivial editorial cleanups: adding () around return; removing a redundant blank line.
BIND 10 source code commits
bind10-changes at lists.isc.org
Mon Apr 25 22:26:10 UTC 2011
The branch, master has been updated
via bc436f1f6715aabcc62c468fa6cfd7d3bf694f29 (commit)
from 5542432e850b29dcd316842a61fcbc2903acbaab (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit bc436f1f6715aabcc62c468fa6cfd7d3bf694f29
Author: JINMEI Tatuya <jinmei at isc.org>
Date: Mon Apr 25 15:25:39 2011 -0700
[master] trivial editorial cleanups: adding () around return; removing a
redundant blank line.
-----------------------------------------------------------------------
Summary of changes:
src/bin/resolver/response_scrubber.cc | 7 +++----
1 files changed, 3 insertions(+), 4 deletions(-)
-----------------------------------------------------------------------
diff --git a/src/bin/resolver/response_scrubber.cc b/src/bin/resolver/response_scrubber.cc
index 93bd808..25dac7c 100644
--- a/src/bin/resolver/response_scrubber.cc
+++ b/src/bin/resolver/response_scrubber.cc
@@ -107,7 +107,7 @@ ResponseScrubber::scrubSection(Message& message,
}
}
- return count;
+ return (count);
}
// Perform the scrubbing of all sections of the message.
@@ -126,7 +126,7 @@ ResponseScrubber::scrubAllSections(Message& message, const Name& bailiwick) {
count += scrubSection(message, bailiwick_names,
NameComparisonResult::SUBDOMAIN, Message::SECTION_ADDITIONAL);
- return count;
+ return (count);
}
// Scrub across sections.
@@ -171,7 +171,6 @@ ResponseScrubber::scrubCrossSections(isc::dns::Message& message) {
// superdomain of the names in the question/answer section.
return (scrubSection(message, source,
NameComparisonResult::SUPERDOMAIN, Message::SECTION_AUTHORITY));
-
}
// Scrub a message
@@ -183,7 +182,7 @@ ResponseScrubber::scrub(const isc::dns::MessagePtr& message,
unsigned int sections_removed = scrubAllSections(*message, bailiwick);
sections_removed += scrubCrossSections(*message);
- return sections_removed;
+ return (sections_removed);
}
More information about the bind10-changes
mailing list