Commit 41de7442 authored by Giovanni Bajo's avatar Giovanni Bajo Committed by Simon Kelley

Reformat some code (no semantic difference).

parent 0852d76b
...@@ -62,11 +62,8 @@ static int check_date_range(unsigned long date_start, unsigned long date_end) ...@@ -62,11 +62,8 @@ static int check_date_range(unsigned long date_start, unsigned long date_end)
unsigned long curtime = time(0); unsigned long curtime = time(0);
/* We must explicitly check against wanted values, because of SERIAL_UNDEF */ /* We must explicitly check against wanted values, because of SERIAL_UNDEF */
if (serial_compare_32(curtime, date_start) != SERIAL_GT) return serial_compare_32(curtime, date_start) == SERIAL_GT
return 0; && serial_compare_32(curtime, date_end) == SERIAL_LT;
if (serial_compare_32(curtime, date_end) != SERIAL_LT)
return 0;
return 1;
} }
/* Sort RRs within a RRset in canonical order, according to RFC4034, §6.3 /* Sort RRs within a RRset in canonical order, according to RFC4034, §6.3
......
Markdown is supported
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