Commit 7838940f authored by Karl Heyes's avatar Karl Heyes

fix segv case on listmounts/moveclients when a fallback to file stream is running

svn path=/icecast/trunk/icecast/; revision=10009
parent 6d108c6a
...@@ -252,7 +252,7 @@ xmlDocPtr admin_build_sourcelist (const char *mount) ...@@ -252,7 +252,7 @@ xmlDocPtr admin_build_sourcelist (const char *mount)
if (source->running) if (source->running)
{ {
if (source->client->con) if (source->client)
{ {
snprintf (buf, sizeof(buf), "%lu", snprintf (buf, sizeof(buf), "%lu",
(unsigned long)(now - source->con->con_time)); (unsigned long)(now - source->con->con_time));
......
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