From 6b8233bfe00e79134cb1b84fc49d4f750a797f79 Mon Sep 17 00:00:00 2001 From: Mark Adler Date: Fri, 9 Sep 2011 23:24:43 -0700 Subject: zlib 1.2.2.3 --- minigzip.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'minigzip.c') diff --git a/minigzip.c b/minigzip.c index 4ba5e50..4524b96 100644 --- a/minigzip.c +++ b/minigzip.c @@ -1,5 +1,5 @@ /* minigzip.c -- simulate gzip using the zlib compression library - * Copyright (C) 1995-2004 Jean-loup Gailly. + * Copyright (C) 1995-2005 Jean-loup Gailly. * For conditions of distribution and use, see copyright notice in zlib.h */ @@ -295,6 +295,8 @@ int main(argc, argv) break; argc--, argv++; } + if (outmode[3] == ' ') + outmode[3] = 0; if (argc == 0) { SET_BINARY_MODE(stdin); SET_BINARY_MODE(stdout); -- cgit v1.2.3-55-g6feb