OSUOSL/Nero are experiencing Internet connectivity problems. This affects us as we're hosted with OSUOSL. We apologize for the inconvenience.

Commit 6c4c02d4 authored by Karl Heyes's avatar Karl Heyes

small fixes

svn path=/icecast/trunk/icecast/; revision=8596
parent 1c5f2367
......@@ -23,9 +23,9 @@
<p>If icecast has been built with YP support, then the following configuration options control the YP directory settings:</p>
<p>Multiple directory XML chunks can be specified in order to be listed in multiple directories.</p>
<br />
......@@ -651,7 +651,7 @@ static void command_show_listeners(client_t *client, source_t *source,
xmlNewChild(listenernode, NULL, "UserAgent", "Unknown");
memset(buf, '\000', sizeof(buf));
snprintf(buf, sizeof(buf)-1, "%ld", now - current->con->con_time);
snprintf(buf, sizeof(buf), "%lu", (unsigned long)(now - current->con->con_time));
xmlNewChild(listenernode, NULL, "Connected", buf);
memset(buf, '\000', sizeof(buf));
snprintf(buf, sizeof(buf)-1, "%lu", current->con->id);
......@@ -241,7 +241,7 @@ static void update_comments (source_t *source)
char *title = ogg_info->title;
char *artist = ogg_info->artist;
char *metadata = NULL;
unsigned int len = 0;
unsigned int len = 1; /* space for the nul byte at least */
ogg_codec_t *codec;
char codec_names [100] = "";
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment