From eded3d33bef9339e213a7d83a56f7d1908bc38e6 Mon Sep 17 00:00:00 2001 From: Arthur David Olson Date: Mon, 24 Nov 1986 18:50:01 -0500 Subject: [PATCH] correct cutoff logic SCCS-file: zdump.c SCCS-SID: 2.13 --- zdump.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zdump.c b/zdump.c index ac00239..865b49e 100644 --- a/zdump.c +++ b/zdump.c @@ -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);