1
0
mirror of https://gitlab.xiph.org/xiph/icecast-server.git synced 2024-09-22 04:15:54 -04:00

avoid duplicate entries in playlist log

svn path=/icecast/trunk/icecast/; revision=14483
This commit is contained in:
Karl Heyes 2008-02-12 04:15:45 +00:00
parent cca1287522
commit c37e770ee0

View File

@ -237,17 +237,6 @@ void stats_event_conv(const char *mount, const char *name, const char *value, co
}
stats_event (mount, name, metadata);
/* special case for title updates, log converted title */
if (mount && strcmp (name, "title") == 0)
{
char *s = stats_get_value ((char*)mount, "listeners");
int listeners = 0;
if (s)
listeners = atoi (s);
free (s);
logging_playlist (mount, metadata, listeners);
}
xmlBufferFree (conv);
}