Commit de48bdd1 authored by Philipp Schafft's avatar Philipp Schafft 🦁

Cleanup: Removed unused member host vom connection struct

parent b7d0188e
......@@ -1609,8 +1609,6 @@ void connection_close(connection_t *con)
sock_close(con->sock);
if (con->ip)
free(con->ip);
if (con->host)
free(con->host);
#ifdef HAVE_OPENSSL
if (con->ssl) { SSL_shutdown(con->ssl); SSL_free(con->ssl); }
#endif
......
......@@ -49,8 +49,6 @@ typedef struct connection_tag
int (*read)(struct connection_tag *handle, void *buf, size_t len);
char *ip;
char *host;
} connection_t;
void connection_initialize(void);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment