2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-09-03 15:35:17 +00:00

[3008] Removed some trailing whitespaces and overlooked

temporary conditional compile directives.
This commit is contained in:
Thomas Markwalder
2013-07-23 11:36:09 -04:00
parent 07c566bffc
commit 0a3773e5df
4 changed files with 22 additions and 30 deletions

View File

@@ -69,12 +69,8 @@ NameChangeListener::stopListening() {
}
void
#if 0
NameChangeListener::invokeRecvHandler(Result result, NameChangeRequestPtr ncr) {
#else
NameChangeListener::invokeRecvHandler(const Result result,
NameChangeRequestPtr& ncr) {
#endif
// Call the registered application layer handler.
recv_handler_(result, ncr);
@@ -92,12 +88,8 @@ NameChangeListener::invokeRecvHandler(const Result result,
// close the window by invoking the application handler with
// a failed result, and let the application layer sort it out.
LOG_ERROR(dctl_logger, DHCP_DDNS_NCR_RECV_NEXT).arg(ex.what());
#if 0
recv_handler_(ERROR, NameChangeRequestPtr());
#else
NameChangeRequestPtr empty;
recv_handler_(ERROR, empty);
#endif
}
}
}