Enable "recovery_min_apply_delay" to be zero.

Addresses GitHub #448.
This commit is contained in:
Ian Barwick
2018-06-14 11:11:33 +09:00
parent eca1943026
commit d60bd232f0

View File

@@ -959,12 +959,11 @@ parse_time_unit_parameter(const char *name, const char *value, char *dest, ItemL
char *ptr = NULL;
int targ = strtol(value, &ptr, 10);
if (targ < 1)
if (targ < 0)
{
if (errors != NULL)
{
item_list_append_format(
errors,
item_list_append_format(errors,
_("invalid value provided for \"%s\""),
name);
}