Skip to content

Commit

Permalink
changelog added
Browse files Browse the repository at this point in the history
  • Loading branch information
vanhauser-thc committed Aug 30, 2016
1 parent 8d981c0 commit cbe0ada
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion CHANGES
Expand Up @@ -2,7 +2,7 @@ Changelog for hydra
-------------------

Release 8.4-dev
* your patch?
* New command line option -y which disables -x 1aA interpretation, thanks to crondaemon for the patch


Release 8.3
Expand Down
4 changes: 2 additions & 2 deletions bfg.c
Expand Up @@ -20,14 +20,14 @@ static int add_single_char(char ch, char flags, int* crs_len) {
printf("[ERROR] character %c defined in -x although the whole number range was already defined by '1', ignored\n", ch);
return 0;
}
printf("[WARNING] adding character %c for -x, note that '1' will add all numbers from 0-9\n", ch);
//printf("[WARNING] adding character %c for -x, note that '1' will add all numbers from 0-9\n", ch);
}
if (tolower((int) ch) >= 'b' && tolower((int) ch) <= 'z') {
if ((ch <= 'Z' && (flags & BF_UPPER) > 0) || (ch > 'Z' && (flags & BF_UPPER) > 0)) {
printf("[ERROR] character %c defined in -x although the whole letter range was already defined by '%c', ignored\n", ch, ch <= 'Z' ? 'A' : 'a');
return 0;
}
printf("[WARNING] adding character %c for -x, note that '%c' will add all %scase letters\n", ch, ch <= 'Z' ? 'A' : 'a', ch <= 'Z' ? "up" : "low");
//printf("[WARNING] adding character %c for -x, note that '%c' will add all %scase letters\n", ch, ch <= 'Z' ? 'A' : 'a', ch <= 'Z' ? "up" : "low");
}
(*crs_len)++;
if (BF_CHARSMAX - *crs_len < 1) {
Expand Down

0 comments on commit cbe0ada

Please sign in to comment.