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:
parent
8b096eaf64
commit
94f745cb51
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user