diff --git a/sources/system.c b/sources/system.c index 8fb8cba3..cd0b4c4d 100644 --- a/sources/system.c +++ b/sources/system.c @@ -226,7 +226,6 @@ od_system_listen(od_system_t *system) listen->port); continue; } - system->addr = ai; /* listen resolved addresses */ if (host) { @@ -387,7 +386,6 @@ int od_system_init(od_system_t *system, od_instance_t *instance) { system->machine = -1; system->instance = instance; - system->addr = NULL; memset(&system->global, 0, sizeof(system->global)); return 0; } diff --git a/sources/system.h b/sources/system.h index d3e56186..1ce8bc71 100644 --- a/sources/system.h +++ b/sources/system.h @@ -21,10 +21,9 @@ struct od_systemserver struct od_system { - int64_t machine; - struct addrinfo *addr; - od_global_t global; - od_instance_t *instance; + int64_t machine; + od_global_t global; + od_instance_t *instance; }; int od_system_init(od_system_t*, od_instance_t*);