Commit 6128c063 authored by Michael Smith's avatar Michael Smith

Oops. Fix null-terminator.

svn path=/trunk/icecast/; revision=5816
parent 7bc7ea58
......@@ -331,7 +331,7 @@ static int format_mp3_get_buffer(format_plugin_t *self, char *data,
memcpy(state->metadata,
state->metadata_buffer + 13,
state->metadata_length - 15);
state->metadata[state->metadata_length - 2] = 0;
state->metadata[state->metadata_length - 15] = 0;
free(state->metadata_buffer);
}
else
......
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