From 32ec9e5ddad4204b4cbaccaab1cef973cb8bb5e5 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Mon, 19 May 2014 00:18:10 +0200 Subject: m 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 | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/mds-server/mds-server.c b/src/mds-server/mds-server.c index 947e314..a8f3836 100644 --- a/src/mds-server/mds-server.c +++ b/src/mds-server/mds-server.c @@ -714,7 +714,10 @@ void queue_message_multicast(char* message, size_t length, client_t* sender) with_mutex (sender->mutex, new_buf = sender->multicasts; if (xrealloc(new_buf, sender->multicasts_count + 1, multicast_t)) - goto fail_queue; + { + perror(*argv); + goto fail_queue; + } sender->multicasts = new_buf; sender->multicasts[sender->multicasts_count++] = *multicast; free(multicast); -- cgit v1.2.3-70-g09d2