diff options
author | Mattias Andrée <maandree@operamail.com> | 2014-05-18 01:04:32 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2014-05-18 01:04:32 +0200 |
commit | 625a5150a7bc5d01e336d7521d18fab46e386682 (patch) | |
tree | f97710bc18f1493968a7508704e5c53db852044b /src | |
parent | Fix memory leak on termination (diff) | |
download | mds-625a5150a7bc5d01e336d7521d18fab46e386682.tar.gz mds-625a5150a7bc5d01e336d7521d18fab46e386682.tar.bz2 mds-625a5150a7bc5d01e336d7521d18fab46e386682.tar.xz |
fix length of multicast messages
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rw-r--r-- | src/mds-server/mds-server.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |