mirror of
https://gitlab.xiph.org/xiph/icecast-server.git
synced 2024-12-04 14:46:30 -05:00
fix segv case on listmounts/moveclients when a fallback to file stream is running
svn path=/icecast/trunk/icecast/; revision=10009
This commit is contained in:
parent
6d108c6aad
commit
7838940f0b
@ -252,7 +252,7 @@ xmlDocPtr admin_build_sourcelist (const char *mount)
|
||||
|
||||
if (source->running)
|
||||
{
|
||||
if (source->client->con)
|
||||
if (source->client)
|
||||
{
|
||||
snprintf (buf, sizeof(buf), "%lu",
|
||||
(unsigned long)(now - source->con->con_time));
|
||||
|
Loading…
Reference in New Issue
Block a user