mirror of
https://github.com/hashcat/hashcat
synced 2024-12-27 05:13:45 +01:00
Reenable select_read_timeout and select_write_timeout on windows
This commit is contained in:
parent
89d86130f1
commit
f63762e597
@ -800,10 +800,6 @@ float get_entropy (const u8 *buf, const int len)
|
||||
return entropy;
|
||||
}
|
||||
|
||||
#if defined (_WIN)
|
||||
|
||||
#else
|
||||
|
||||
int select_read_timeout (int sockfd, const int sec)
|
||||
{
|
||||
struct timeval tv;
|
||||
@ -834,8 +830,6 @@ int select_write_timeout (int sockfd, const int sec)
|
||||
return select (sockfd + 1, NULL, &fds, NULL, &tv);
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
#if defined (_WIN)
|
||||
|
||||
int select_read_timeout_console (const int sec)
|
||||
|
Loading…
Reference in New Issue
Block a user