mirror of
https://github.com/vanhauser-thc/thc-hydra.git
synced 2025-07-05 20:41:39 -07:00
Fix compilation warning
Fix the compilation warning below: hydra-smtp-enum.c: In function ‘service_smtp_enum’: hydra-mod.h:72:22: warning: statement will never be executed [-Wswitch-unreachable] #define hydra_report fprintf hydra-smtp-enum.c:220:11: note: in expansion of macro ‘hydra_report’ hydra_report(stdout, "[VERBOSE] "); ^~~~~~~~~~~~
This commit is contained in:
parent
bdf0475b48
commit
87e410e5a1
1 changed files with 1 additions and 1 deletions
|
@ -216,8 +216,8 @@ void service_smtp_enum(char *ip, int32_t sp, unsigned char options, char *miscpt
|
|||
smtp_enum_cmd = RCPT;
|
||||
}
|
||||
if (debug) {
|
||||
hydra_report(stdout, "[VERBOSE] ");
|
||||
switch (smtp_enum_cmd) {
|
||||
hydra_report(stdout, "[VERBOSE] ");
|
||||
case VRFY:
|
||||
hydra_report(stdout, "using SMTP VRFY command\n");
|
||||
break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue