diff options
Diffstat (limited to '')
-rw-r--r-- | tools/gpgsplit.c | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/tools/gpgsplit.c b/tools/gpgsplit.c index 96760dab3..8c1705396 100644 --- a/tools/gpgsplit.c +++ b/tools/gpgsplit.c @@ -19,10 +19,6 @@ * USA. */ -/* - * TODO: Add an option to uncompress packets. This should come quite handy. - */ - #include <config.h> #include <errno.h> #include <stdio.h> @@ -446,6 +442,15 @@ handle_zlib(int algo,FILE *fpin,FILE *fpout) } } while (zrc != Z_STREAM_END && zrc != Z_BUF_ERROR); + { + int i; + + fputs ("Left over bytes:", stderr); + for (i=0; i < zs.avail_in; i++) + fprintf (stderr, " %02X", zs.next_in[i]); + putc ('\n', stderr); + + } inflateEnd (&zs); return 0; |