summaryrefslogtreecommitdiffstats
path: root/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/main.c b/src/main.c
index 5f6d164..48f0c00 100644
--- a/src/main.c
+++ b/src/main.c
@@ -24,7 +24,6 @@ int main(int argc, char *argv[])
{
struct ev_io ev_io_server_rest, ev_io_agent_rest;
struct og_server_cfg cfg = {};
- int i;
og_loop = ev_default_loop(0);
@@ -45,11 +44,6 @@ int main(int argc, char *argv[])
from_json_to_legacy(&cfg);
}
- for (i = 0; i < MAXIMOS_CLIENTES; i++) {
- tbsockets[i].ip[0] = '\0';
- tbsockets[i].cli = NULL;
- }
-
socket_rest = og_socket_server_init("8888");
if (socket_rest < 0) {
syslog(LOG_ERR, "Cannot open REST API server socket\n");