Commit fb3678b0 authored by Philipp Schafft's avatar Philipp Schafft 🦁
Browse files

Fix: Do not access request type when we have no parser (slaves)

parent 514e825a
......@@ -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);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment