aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2014-05-19 00:18:10 +0200
committerMattias Andrée <maandree@operamail.com>2014-05-19 00:18:10 +0200
commit32ec9e5ddad4204b4cbaccaab1cef973cb8bb5e5 (patch)
treeae56c5ca032964441857047dc6a23c0a911eedd5
parentadd to fixme:s (diff)
downloadmds-32ec9e5ddad4204b4cbaccaab1cef973cb8bb5e5.tar.gz
mds-32ec9e5ddad4204b4cbaccaab1cef973cb8bb5e5.tar.bz2
mds-32ec9e5ddad4204b4cbaccaab1cef973cb8bb5e5.tar.xz
m
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rw-r--r--src/mds-server/mds-server.c5
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);