From 7838940f0baa20f946afdad8e89c265faa020b7b Mon Sep 17 00:00:00 2001 From: Karl Heyes Date: Mon, 12 Sep 2005 16:00:27 +0000 Subject: [PATCH] fix segv case on listmounts/moveclients when a fallback to file stream is running svn path=/icecast/trunk/icecast/; revision=10009 --- src/admin.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/admin.c b/src/admin.c index 76c88a80..a0855258 100644 --- a/src/admin.c +++ b/src/admin.c @@ -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));