Skip to content
Snippets Groups Projects
Commit e43a921d authored by Jan Včelák's avatar Jan Včelák :rocket:
Browse files

events: drop useless comment

parent 51a1daf5
No related branches found
No related tags found
No related merge requests found
......@@ -684,7 +684,7 @@ static void replan_dnssec(zone_t *zone)
static bool valid_event(zone_event_type_t type)
{
return (type >= ZONE_EVENT_RELOAD && type < ZONE_EVENT_COUNT);
return (type > ZONE_EVENT_INVALID && type < ZONE_EVENT_COUNT);
}
/*! \brief Return remaining time to planned event (seconds). */
......
......@@ -32,7 +32,7 @@ struct server_t;
typedef enum zone_event_type {
ZONE_EVENT_INVALID = -1,
// supported event types
ZONE_EVENT_RELOAD = 0, // Used as a first valid event, do not change.
ZONE_EVENT_RELOAD = 0,
ZONE_EVENT_REFRESH,
ZONE_EVENT_XFER,
ZONE_EVENT_UPDATE,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment