From 625a5150a7bc5d01e336d7521d18fab46e386682 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sun, 18 May 2014 01:04:32 +0200 Subject: fix length of multicast messages MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- src/mds-server/mds-server.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mds-server/mds-server.c b/src/mds-server/mds-server.c index 1a553df..1551dcc 100644 --- a/src/mds-server/mds-server.c +++ b/src/mds-server/mds-server.c @@ -1292,7 +1292,7 @@ void queue_message_multicast(char* message, size_t length, client_t* sender) multicast->interceptions = interceptions; multicast->interceptions_count = interceptions_count; multicast->message = message; - multicast->message_length = length; + multicast->message_length = length + n; multicast->message_prefix = n; message = NULL; -- cgit v1.2.3-70-g09d2