2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-08-31 22:15:23 +00:00

[2342] Address comments in second review.

This commit is contained in:
Stephen Morris
2012-10-29 13:43:31 +00:00
parent 89c8076272
commit a0f0141e8e
7 changed files with 29 additions and 23 deletions

View File

@@ -375,6 +375,7 @@ MySqlLeaseMgr::convertToDatabaseTime(time_t cltt, uint32_t valid_lifetime,
MYSQL_TIME& expire) {
// Calculate expiry time and convert to various date/time fields.
// @TODO: handle overflows
time_t expire_time = cltt + valid_lifetime;
// Convert to broken-out time