mirror of
https://gitlab.xiph.org/xiph/icecast-server.git
synced 2024-09-29 04:25:55 -04:00
Fix: Also copy listener type
This commit is contained in:
parent
6ad7f8d3db
commit
75be23b550
@ -2507,6 +2507,7 @@ listener_t *config_copy_listener_one(const listener_t *listener) {
|
|||||||
n->next = NULL;
|
n->next = NULL;
|
||||||
n->port = listener->port;
|
n->port = listener->port;
|
||||||
n->so_sndbuf = listener->so_sndbuf;
|
n->so_sndbuf = listener->so_sndbuf;
|
||||||
|
n->type = listener->type;
|
||||||
n->id = (char*)xmlStrdup(XMLSTR(listener->id));
|
n->id = (char*)xmlStrdup(XMLSTR(listener->id));
|
||||||
n->bind_address = (char*)xmlStrdup(XMLSTR(listener->bind_address));
|
n->bind_address = (char*)xmlStrdup(XMLSTR(listener->bind_address));
|
||||||
n->shoutcast_compat = listener->shoutcast_compat;
|
n->shoutcast_compat = listener->shoutcast_compat;
|
||||||
|
Loading…
Reference in New Issue
Block a user