summaryrefslogtreecommitdiff
path: root/usr.bin/compress/main.c
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2003-06-27 17:33:27 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2003-06-27 17:33:27 +0000
commit06769317e53bf674f5024110eba647703c25721c (patch)
tree8cc4e83542761f740a21d5df89761206691c3bb2 /usr.bin/compress/main.c
parent2dfbfdaa774fe3779573729966b417fd5d86438b (diff)
Fix -t mode; it needs to set decomp=1 too
Diffstat (limited to 'usr.bin/compress/main.c')
-rw-r--r--usr.bin/compress/main.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.bin/compress/main.c b/usr.bin/compress/main.c
index 5f7ba1f5575..4f5c04ee730 100644
--- a/usr.bin/compress/main.c
+++ b/usr.bin/compress/main.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: main.c,v 1.28 2003/06/23 19:35:31 millert Exp $ */
+/* $OpenBSD: main.c,v 1.29 2003/06/27 17:33:26 millert Exp $ */
static const char copyright[] =
"@(#) Copyright (c) 1992, 1993\n\
@@ -35,7 +35,7 @@ static const char license[] =
#if 0
static char sccsid[] = "@(#)compress.c 8.2 (Berkeley) 1/7/94";
#else
-static const char main_rcsid[] = "$OpenBSD: main.c,v 1.28 2003/06/23 19:35:31 millert Exp $";
+static const char main_rcsid[] = "$OpenBSD: main.c,v 1.29 2003/06/27 17:33:26 millert Exp $";
#endif
#endif /* not lint */
@@ -248,6 +248,7 @@ main(int argc, char *argv[])
break;
case 't':
testmode = 1;
+ decomp++;
break;
case 'V':
printf("%s\n%s\n%s\n", main_rcsid,