cracker: remove indent level

This commit is contained in:
rofl0r 2019-05-12 23:23:20 +01:00
parent c6baab313d
commit 231df4a616
1 changed files with 176 additions and 179 deletions

View File

@ -58,8 +58,10 @@ void crack()
/* Initialize network interface */
set_handle(capture_init(get_iface()));
if(get_handle() != NULL)
{
if(get_handle() == NULL) {
cprintf(CRITICAL, "[-] Failed to initialize interface '%s'\n", get_iface());
return;
}
generate_pins();
/* Restore any previously saved session */
@ -267,11 +269,6 @@ void crack()
pcap_close(get_handle());
set_handle(NULL);
}
}
else
{
cprintf(CRITICAL, "[-] Failed to initialize interface '%s'\n", get_iface());
}
}
/*