diff --git a/src/admin.c b/src/admin.c index 57b256c8..fee735e9 100644 --- a/src/admin.c +++ b/src/admin.c @@ -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); }