aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/crunch.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/crunch.c b/src/crunch.c
index 480fb81..ada46e8 100644
--- a/src/crunch.c
+++ b/src/crunch.c
@@ -251,6 +251,7 @@ void crunch(void) {
/* 0-byte input files don't get a TOK_RESET */
if(!input_len) {
store_token(TOK_END);
+ inc_output_len();
return;
}