fix man page

This commit is contained in:
vanhauser-thc 2022-11-09 12:08:34 +01:00
parent 972039b3ae
commit 4778a398d9
2 changed files with 4 additions and 4 deletions

View file

@ -662,10 +662,10 @@ char *hydra_get_next_pair() {
pair[sizeof(pair) - 1] = 0;
__fck = read(intern_socket, pair, sizeof(pair) - 1);
// if (debug) hydra_dump_data(pair, __fck, "CHILD READ PAIR");
if (memcmp(&HYDRA_EXIT, &pair, sizeof(HYDRA_EXIT)) == 0)
return HYDRA_EXIT;
if (pair[0] == 0)
if (pair[0] == 0 || __fck <= 0)
return HYDRA_EMPTY;
if (__fck >= sizeof(HYDRA_EXIT) && memcmp(&HYDRA_EXIT, &pair, sizeof(HYDRA_EXIT)) == 0)
return HYDRA_EXIT;
}
return pair;
}

View file

@ -42,7 +42,7 @@ upcase characters (A,B,C,D, etc.)
numbers (1,2,3,4, etc.)
.TP
.B \-p
printable characters (which are not \-l/\-n/\-p, e.g. $,!,/,(,*, etc.)
printable characters (which are not \-l/\-n/\-n, e.g. $,!,/,(,*, etc.)
.TP
.B \ -s
special characters \- all others not withint the sets above