Mercurial > dropbear
comparison fuzz/fuzz-harness.c @ 1904:be236878efcf
Add -v variable debug levels for server too
-vvvv is equivalent to the old -v
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Thu, 24 Mar 2022 14:44:13 +0800 |
parents | fd00aeff38fd |
children |
comparison
equal
deleted
inserted
replaced
1903:9382271da9ef | 1904:be236878efcf |
---|---|
10 int quiet = 0; | 10 int quiet = 0; |
11 | 11 |
12 for (i = 1; i < argc; i++) { | 12 for (i = 1; i < argc; i++) { |
13 #if DEBUG_TRACE | 13 #if DEBUG_TRACE |
14 if (strcmp(argv[i], "-v") == 0) { | 14 if (strcmp(argv[i], "-v") == 0) { |
15 debug_trace = 1; | 15 debug_trace++; |
16 TRACE(("debug printing on")) | 16 fprintf(stderr, "debug level -> %d\n", debug_trace); |
17 } | 17 } |
18 #endif | 18 #endif |
19 if (strcmp(argv[i], "-q") == 0) { | 19 if (strcmp(argv[i], "-q") == 0) { |
20 printf("Running quiet\n"); | 20 printf("Running quiet\n"); |
21 quiet = 1; | 21 quiet = 1; |