From ca545d39bd68d156a0dddbab204e743202dbfba3 Mon Sep 17 00:00:00 2001 From: OpenGnSys Support Team Date: Fri, 14 Aug 2020 12:37:36 +0200 Subject: #998 disable incremental image API This API is not supported by ogClient yet and it uses the obsolete socket hydra API. --- src/main.c | 6 ------ 1 file changed, 6 deletions(-) (limited to 'src/main.c') 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"); -- cgit v1.2.3-18-g5258