correct cutoff logic

SCCS-file: zdump.c
SCCS-SID: 2.13
This commit is contained in:
Arthur David Olson
2012-07-18 03:01:40 -04:00
committed by Paul Eggert
parent aa21c187bb
commit eded3d33be
+1 -1
View File
@@ -121,7 +121,7 @@ char * argv[];
if (fread((char *) code, sizeof code, 1, fp) != 1)
readerr(fp, argv[0], argv[i]);
t = tzdecode(code);
if (t > cuttime)
if (cutoff != NULL && t > cuttime)
break;
show(argv[i], t - 1, TRUE);
show(argv[i], t, TRUE);