Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Pavel Zhukov
Kea
Commits
8a811579
Commit
8a811579
authored
Apr 06, 2010
by
JINMEI Tatuya
Browse files
cleanup: constify
git-svn-id:
svn://bind10.isc.org/svn/bind10/trunk@1678
e5f2f494-b856-4b98-b285-d166d9295462
parent
16d28db9
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/lib/auth/sqlite3_datasrc.cc
View file @
8a811579
...
...
@@ -330,7 +330,7 @@ int
Sqlite3DataSrc
::
findClosest
(
const
Name
&
name
,
unsigned
int
*
position
)
const
{
const
unsigned
int
nlabels
=
name
.
getLabelCount
();
for
(
unsigned
int
i
=
0
;
i
<
nlabels
;
++
i
)
{
Name
matchname
(
name
.
split
(
i
,
nlabels
-
i
));
const
Name
matchname
(
name
.
split
(
i
,
nlabels
-
i
));
const
int
rc
=
hasExactZone
(
matchname
.
toText
().
c_str
());
if
(
rc
>=
0
)
{
if
(
position
!=
NULL
)
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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