aboutsummaryrefslogtreecommitdiffstats
path: root/agni.c
diff options
context:
space:
mode:
authorFreeArtMan <dos21h@gmail.com>2017-09-24 11:55:09 +0100
committerFreeArtMan <dos21h@gmail.com>2017-09-24 11:55:09 +0100
commit5de1c5ba999dba7da45316d3c1f2592c0e0e4804 (patch)
tree58e2fdc46c9b8b43598acdfad479bda9359b1df9 /agni.c
parent1dcf41797bda73d9c9c286d1eff8309ee2148e13 (diff)
downloadagni-5de1c5ba999dba7da45316d3c1f2592c0e0e4804.tar.gz
agni-5de1c5ba999dba7da45316d3c1f2592c0e0e4804.zip
Rearranged code for more IPC protocols
Diffstat (limited to 'agni.c')
-rw-r--r--agni.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/agni.c b/agni.c
index f89dc17..b8fa534 100644
--- a/agni.c
+++ b/agni.c
@@ -34,7 +34,7 @@
#include "arg.h"
-#include "nbrpc.h"
+#include "nbrpc_event.h"
/*
no defence programming, no error checking, no argument checking just PoC
@@ -598,7 +598,7 @@ int th_start_client(void *data)
printf("Reconnect in 10 sec\n");
sleep(10);
}
- sleep(1);
+ //sleep(1);
}
//send some commands to irc to register nick
snprintf(cmd_buf, TH_CONN_BUF_SZ, "USER %s 0 0 :%s\r\n", cfg->user, cfg->user);
@@ -618,7 +618,7 @@ int th_start_client(void *data)
printf("Reconnect in 10 sec\n");
sleep(10);
}
- sleep(1);
+ //sleep(1);
}
//send some commands to irc to register nick
snprintf(cmd_buf, TH_CONN_BUF_SZ, "USER %s 0 0 :%s\r\n", cfg->user, cfg->user);