Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ISC Open Source Projects
Kea
Commits
f66e4da3
Commit
f66e4da3
authored
Jul 24, 2019
by
Thomas Markwalder
Browse files
Apply suggestion to src/lib/util/boost_time_utils.cc
parent
b7483950
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/lib/util/boost_time_utils.cc
View file @
f66e4da3
...
...
@@ -32,7 +32,7 @@ isc::util::durationToText(boost::posix_time::time_duration dur, size_t fsecs_pre
size_t
fsecs
=
dur
.
fractional_seconds
();
size_t
width
=
DEFAULT_FRAC_SECS
;
if
(
fsecs_precision
<
width
)
{
for
(
size_t
diff
=
width
-
fsecs_precision
;
diff
;
--
diff
)
{
for
(
auto
i
=
0
;
i
<
width
-
fsecs_precision
;
++
i
)
{
fsecs
/=
10
;
}
...
...
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