mirror of
https://gitlab.xiph.org/xiph/icecast-server.git
synced 2024-12-04 14:46:30 -05:00
Fix: Do not access request type when we have no parser (slaves)
This commit is contained in:
parent
514e825a81
commit
fb3678b0ca
@ -1035,7 +1035,7 @@ static void command_metadata(client_t *client,
|
||||
|
||||
ICECAST_LOG_DEBUG("Got metadata update request");
|
||||
|
||||
if (source->parser->req_type == httpp_req_put) {
|
||||
if (source->parser && source->parser->req_type == httpp_req_put) {
|
||||
ICECAST_LOG_ERROR("Got legacy SOURCE-style metadata update command on "
|
||||
"source connected with PUT at mountpoint %s", source->mount);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user