From 2cb1fda9fe6c10da0653e439d86ead125c963720 Mon Sep 17 00:00:00 2001 From: Michael Sweet Date: Tue, 12 Sep 2017 12:21:00 -0400 Subject: [PATCH] Allow DELAY values of 0. --- test/ipptool.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/ipptool.c b/test/ipptool.c index 737fde124..40a71b772 100644 --- a/test/ipptool.c +++ b/test/ipptool.c @@ -1720,7 +1720,7 @@ do_tests(cups_file_t *outfile, /* I - Output file */ expand_variables(vars, token, temp, sizeof(token)); - if ((dval = _cupsStrScand(token, &tokenptr, localeconv())) <= 0.0 || (*tokenptr && *tokenptr != ',')) + if ((dval = _cupsStrScand(token, &tokenptr, localeconv())) < 0.0 || (*tokenptr && *tokenptr != ',')) { print_fatal_error(outfile, "Bad DELAY value \"%s\" on line %d.", token, linenum); -- 2.39.2