aboutsummaryrefslogtreecommitdiff
path: root/src/crunch.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/crunch.c')
-rw-r--r--src/crunch.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/crunch.c b/src/crunch.c
index b450ae0..fc4d6e9 100644
--- a/src/crunch.c
+++ b/src/crunch.c
@@ -130,7 +130,7 @@ void append_bit(int bit) {
void store_token(int tok) {
int mask;
- if(opt_verbose > 2) {
+ if(opt_verbose > 1) {
printf("<%d >%d:%d #%d\n", in_pos, output_len, out_bitpos, tok);
}
@@ -200,11 +200,11 @@ void make_token(token_t *oldtok, u8 newchr) {
/* if the token table is full, reset it. basically start over like
we would with a new file. */
if(curr_token == max_token) {
- if(opt_verbose > 2) {
+ if(opt_verbose > 1) {
printf("\ntoken %d won't fit in %d bits, ", max_token, token_bits);
}
if(token_bits == MAX_BITS) {
- if(opt_verbose > 2) {
+ if(opt_verbose > 1) {
printf("resetting token_bits to %d\n", INITIAL_BITS);
printf("token table is full, clearing, old contents:\n");
dump_tokens();
@@ -215,7 +215,7 @@ void make_token(token_t *oldtok, u8 newchr) {
return; /* since we're starting over, *don't* make a token */
} else {
token_bits++;
- if(opt_verbose > 2) {
+ if(opt_verbose > 1) {
printf("token_bits increased to %d\n", token_bits);
}
}
@@ -253,7 +253,7 @@ void crunch(void) {
store_token(TOK_END);
if(out_bitpos) inc_output_len();
- if(opt_verbose > 2) {
+ if(opt_verbose > 1) {
printf("\nfinal token table contents:\n");
dump_tokens();
}