mirror of
https://gitlab.xiph.org/xiph/icecast-server.git
synced 2025-01-03 14:56:34 -05:00
Fix: Corrected order of locks to avoid dead-locks
This commit is contained in:
parent
7b84c45a81
commit
9d120d126f
@ -1171,8 +1171,8 @@ static int _handle_resources(client_t *client, char **uri)
|
||||
}
|
||||
}
|
||||
|
||||
listen_sock = listensocket_get_listener(client->con->listensocket_effective);
|
||||
config = config_get_config();
|
||||
listen_sock = listensocket_get_listener(client->con->listensocket_effective);
|
||||
if (listen_sock) {
|
||||
serverhost = listen_sock->bind_address;
|
||||
serverport = listen_sock->port;
|
||||
|
Loading…
Reference in New Issue
Block a user