1
0
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:
Karl Heyes 2005-09-12 16:00:27 +00:00
parent 6d108c6aad
commit 7838940f0b

View File

@ -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));