diff options
author | OpenGnSys Support Team <soporte-og@soleta.eu> | 2020-08-14 12:37:36 +0200 |
---|---|---|
committer | OpenGnSys Support Team <soporte-og@soleta.eu> | 2020-08-14 12:48:21 +0200 |
commit | ca545d39bd68d156a0dddbab204e743202dbfba3 (patch) | |
tree | 59c1f02c30eb18237c3602d64fe8acee30fd94d0 /src/main.c | |
parent | 060e31cb53386282f1995937c18fe39855865046 (diff) |
#998 disable incremental image API
This API is not supported by ogClient yet and it uses the obsolete socket hydra API.
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 6 |
1 files changed, 0 insertions, 6 deletions
@@ -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"); |