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
Adam Osuchowski
Kea
Commits
e773dac4
Commit
e773dac4
authored
Jul 02, 2013
by
Marcin Siodelski
Browse files
[3007] Trivial: fixed whitespaces in ncr_msg.cc.
parent
1a0742f1
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/bin/d2/ncr_msg.cc
View file @
e773dac4
...
...
@@ -385,7 +385,7 @@ NameChangeRequest::getLeaseExpiresOnStr() const {
return
(
to_iso_string
(
*
lease_expires_on_
));
}
void
void
NameChangeRequest
::
setLeaseExpiresOn
(
const
std
::
string
&
value
)
{
try
{
// Create a new ptime instance from the ISO date-time string in value
...
...
@@ -400,7 +400,7 @@ NameChangeRequest::setLeaseExpiresOn(const std::string& value) {
}
void
void
NameChangeRequest
::
setLeaseExpiresOn
(
const
boost
::
posix_time
::
ptime
&
value
)
{
if
(
lease_expires_on_
->
is_not_a_date_time
())
{
isc_throw
(
NcrMessageError
,
"Invalid value for lease_expires_on"
);
...
...
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