Switched usleep to nanosleep for posix complience

This commit is contained in:
Jack Reacher 2016-02-06 02:16:01 -05:00
commit 554d66c768
35 changed files with 70 additions and 47 deletions

View file

@ -63,7 +63,7 @@ int send_nick(int s, char *ip, char *pass) {
int irc_server_connect(char *ip, int sock, int port, unsigned char options) {
if (sock >= 0)
sock = hydra_disconnect(sock);
// usleep(275000);
// sleepn(275);
if ((options & OPTION_SSL) == 0) {
if (port != 0)
myport = port;