From 1a72bb565a53cdb741206ab2fad7ca6a88aeeedc Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Mon, 19 May 2014 01:38:56 +0200 Subject: Do not just queue "Client close" message, but also send it 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 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/mds-server') diff --git a/src/mds-server/mds-server.c b/src/mds-server/mds-server.c index 4eefe31..0ad7736 100644 --- a/src/mds-server/mds-server.c +++ b/src/mds-server/mds-server.c @@ -284,7 +284,7 @@ void* slave_loop(void* data) /* Multicast information about the client closing. */ - n = 2 * 10 + 1 + strlen("Client closed: :\n\n"); /* FIXME: why is this not received? */ + n = 2 * 10 + 1 + strlen("Client closed: :\n\n"); fail_if (xmalloc(msgbuf, n, char)); snprintf(msgbuf, n, "Client closed: %" PRIu32 ":%" PRIu32 "\n" @@ -294,6 +294,7 @@ void* slave_loop(void* data) n = strlen(msgbuf); queue_message_multicast(msgbuf, n, information); msgbuf = NULL; + send_multicast_queue(information); terminate: /* This done on success as well. */ -- cgit v1.2.3-70-g09d2