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:
parent
b7d0188e1d
commit
de48bdd13f
@ -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
|
||||||
|
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user