Commit c6203e01 authored by JINMEI Tatuya's avatar JINMEI Tatuya
Browse files

style cleanup: consistent use of {}


git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1086 e5f2f494-b856-4b98-b285-d166d9295462
parent bf8ac5b8
......@@ -102,18 +102,17 @@ DNSSECTimeFromText(const string& time_txt)
checkRange(0, 60, second, "second");
timeval = second + (60 * minute) + (3600 * hour) + ((day - 1) * 86400);
for (int m = 0; m < (month - 1); m++)
for (int m = 0; m < (month - 1); m++) {
timeval += days[m] * 86400;
if (isLeap(year) && month > 2)
}
if (isLeap(year) && month > 2) {
timeval += 86400;
}
for (int y = 1970; y < year; y++) {
timeval += ((isLeap(y) ? 366 : 365 ) * 86400);
}
return (timeval);
}
}
}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment