Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
ISC Open Source Projects
Kea
Commits
625f0894
Commit
625f0894
authored
Dec 17, 2012
by
JINMEI Tatuya
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[2427] wording fix: removed redundant words
parent
a435de0e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
6 deletions
+5
-6
src/lib/dns/master_loader.cc
src/lib/dns/master_loader.cc
+3
-4
src/lib/dns/tests/master_loader_unittest.cc
src/lib/dns/tests/master_loader_unittest.cc
+2
-2
No files found.
src/lib/dns/master_loader.cc
View file @
625f0894
...
...
@@ -405,10 +405,9 @@ MasterLoader::MasterLoaderImpl::handleInitialToken() {
isc_throw
(
InternalException
,
"No previous name to use in "
"place of initial whitespace"
);
}
else
if
(
!
previous_name_
)
{
callbacks_
.
warning
(
lexer_
.
getSourceName
(),
lexer_
.
getSourceLine
(),
"Ambiguous previous name previous name for "
"use in place of initial whitespace"
);
callbacks_
.
warning
(
lexer_
.
getSourceName
(),
lexer_
.
getSourceLine
(),
"Ambiguous previous name for use in place of "
"initial whitespace"
);
}
return
(
next_token
);
}
else
if
(
initial_token
.
getType
()
==
MasterToken
::
STRING
||
...
...
src/lib/dns/tests/master_loader_unittest.cc
View file @
625f0894
...
...
@@ -569,8 +569,8 @@ TEST_F(MasterLoaderTest, includeAndInitialWS) {
EXPECT_TRUE
(
errors_
.
empty
());
EXPECT_EQ
(
1
,
warnings_
.
size
());
checkCallbackMessage
(
warnings_
.
at
(
0
),
"Ambiguous previous name
previous name for use in
"
"
place of initial
whitespace"
,
3
);
"Ambiguous previous name
for use in place of initial
"
" whitespace"
,
3
);
checkARR
(
"xyz.example.org"
);
checkBasicRRs
();
checkARR
(
"xyz.example.org"
);
...
...
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