1
0
mirror of https://gitlab.xiph.org/xiph/icecast-server.git synced 2024-12-04 14:46:30 -05:00

Cleanup: Removed unused member host vom connection struct

This commit is contained in:
Philipp Schafft 2015-01-03 01:29:57 +00:00
parent b7d0188e1d
commit de48bdd13f
2 changed files with 0 additions and 4 deletions

View File

@ -1609,8 +1609,6 @@ void connection_close(connection_t *con)
sock_close(con->sock); sock_close(con->sock);
if (con->ip) if (con->ip)
free(con->ip); free(con->ip);
if (con->host)
free(con->host);
#ifdef HAVE_OPENSSL #ifdef HAVE_OPENSSL
if (con->ssl) { SSL_shutdown(con->ssl); SSL_free(con->ssl); } if (con->ssl) { SSL_shutdown(con->ssl); SSL_free(con->ssl); }
#endif #endif

View File

@ -49,8 +49,6 @@ typedef struct connection_tag
int (*read)(struct connection_tag *handle, void *buf, size_t len); int (*read)(struct connection_tag *handle, void *buf, size_t len);
char *ip; char *ip;
char *host;
} connection_t; } connection_t;
void connection_initialize(void); void connection_initialize(void);