Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Marvin Scholz
Icecast-Server
Commits
de48bdd1
Commit
de48bdd1
authored
Jan 03, 2015
by
Philipp Schafft
🦁
Browse files
Cleanup: Removed unused member host vom connection struct
parent
b7d0188e
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/connection.c
View file @
de48bdd1
...
...
@@ -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
...
...
src/connection.h
View file @
de48bdd1
...
...
@@ -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
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment