mirror of
https://github.com/vanhauser-thc/thc-hydra.git
synced 2025-07-05 20:41:39 -07:00
cleanup
This commit is contained in:
parent
185021d474
commit
1a72fe023e
18 changed files with 60 additions and 66 deletions
|
@ -9,7 +9,7 @@ int32_t sleepn(time_t seconds)
|
|||
ts.tv_nsec = 0;
|
||||
return nanosleep(&ts, NULL);
|
||||
}
|
||||
int32_t usleepn(int64_t milisec) {
|
||||
int32_t usleepn(uint64_t milisec) {
|
||||
struct timespec ts;
|
||||
ts.tv_sec = milisec / 1000;
|
||||
ts.tv_nsec = (milisec % 1000) * 1000000L;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue