Reformat some code (no semantic difference).

This commit is contained in:
Giovanni Bajo authored and Simon Kelley committed 2013-08-20 15:41:23 +01:00
1 parent 0852d76b58
commit 41de7442d2
1 file changed
+2 -5
+2 -5
View File
@@ -62,11 +62,8 @@ static int check_date_range(unsigned long date_start, unsigned long date_end)
unsigned long curtime = time(0);
/* We must explicitly check against wanted values, because of SERIAL_UNDEF */
if (serial_compare_32(curtime, date_start) != SERIAL_GT)
return 0;
if (serial_compare_32(curtime, date_end) != SERIAL_LT)
return 0;
return 1;
return serial_compare_32(curtime, date_start) == SERIAL_GT
&& serial_compare_32(curtime, date_end) == SERIAL_LT;
}
/* Sort RRs within a RRset in canonical order, according to RFC4034, §6.3