mirror of
https://github.com/vanhauser-thc/thc-hydra.git
synced 2025-08-20 21:33:51 -07:00
Remove some compiler warnings
This commit is contained in:
parent
c83a71ae87
commit
b8f88efb46
3 changed files with 3 additions and 3 deletions
2
hydra.c
2
hydra.c
|
@ -732,7 +732,7 @@ void hydra_restore_write(int print_msg) {
|
|||
for (j = 0; j < hydra_options.max_use; j++) {
|
||||
memcpy((char *) &hh, hydra_heads[j], sizeof(hydra_head));
|
||||
if (j == 0 && debug) {
|
||||
printf("[DEBUG] sizeof hydra_head: %d\n", sizeof(hydra_head));
|
||||
printf("[DEBUG] sizeof hydra_head: %lu\n", sizeof(hydra_head));
|
||||
printf("[DEBUG] memcmp: %d\n", memcmp(hydra_heads[j], &hh, sizeof(hydra_head)));
|
||||
}
|
||||
hh.active = 0; // re-enable disabled heads
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue