From 4ffd427a3331c4b7789e7dad8c5261904fd1346b Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Wed, 14 May 2014 04:52:31 +0200 Subject: fix errors MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- src/mds-server/client.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mds-server') diff --git a/src/mds-server/client.c b/src/mds-server/client.c index 3c8fb2d..c8e25ea 100644 --- a/src/mds-server/client.c +++ b/src/mds-server/client.c @@ -163,7 +163,7 @@ size_t client_unmarshal(client_t* restrict this, char* restrict data) rc += n; } buf_get_next(data, size_t, n); - if (xmalloc(this->multicasts, n, sizeof(multicast_t))) + if (xmalloc(this->multicasts, n, multicast_t)) goto fail; for (i = 0; i < n; i++, this->multicasts_count++) { -- cgit v1.2.3-70-g09d2