1
0
mirror of https://gitlab.xiph.org/xiph/icecast-server.git synced 2024-11-03 04:17:17 -05:00

fix off by 1 error. users of oddcast DSP may show this up

svn path=/icecast/branches/kh/icecast/; revision=9708
This commit is contained in:
Karl Heyes 2005-08-06 16:35:53 +00:00
parent 8b096eaf64
commit 94f745cb51

View File

@ -448,7 +448,7 @@ static void process_request_queue ()
{
client_queue_t *node = *node_ref;
client_t *client = node->client;
int len = PER_CLIENT_REFBUF_SIZE - node->offset;
int len = PER_CLIENT_REFBUF_SIZE - 1 - node->offset;
char *buf = client->refbuf->data + node->offset;
if (len > 0)