summaryrefslogtreecommitdiff
path: root/test/ipptool.c
diff options
context:
space:
mode:
authorMichael Sweet <michael.r.sweet@gmail.com>2017-09-12 12:21:00 -0400
committerMichael Sweet <michael.r.sweet@gmail.com>2017-09-12 12:21:00 -0400
commit2cb1fda9fe6c10da0653e439d86ead125c963720 (patch)
tree5b729d4220958c631de4ceb40bb5ed08b507795b /test/ipptool.c
parent123cfe0202564a6ea0b2cdf33958bf550ab00016 (diff)
Allow DELAY values of 0.
Diffstat (limited to 'test/ipptool.c')
-rw-r--r--test/ipptool.c2
1 files changed, 1 insertions, 1 deletions
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);