diff options
-rw-r--r-- | src/mds-server/mds-server.c | 5 |
1 files changed, 4 insertions, 1 deletions
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); |