From d60bd232f0c684d535740c32fb7dd93b97fedd4d Mon Sep 17 00:00:00 2001 From: Ian Barwick Date: Thu, 14 Jun 2018 11:11:33 +0900 Subject: [PATCH] Enable "recovery_min_apply_delay" to be zero. Addresses GitHub #448. --- configfile.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/configfile.c b/configfile.c index 1d6795cc..76a8b542 100644 --- a/configfile.c +++ b/configfile.c @@ -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); }