diff options
author | Mattias Andrée <maandree@operamail.com> | 2014-05-14 04:52:31 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2014-05-14 04:52:31 +0200 |
commit | 4ffd427a3331c4b7789e7dad8c5261904fd1346b (patch) | |
tree | 38db38db3f4a611796b5a117f0902c156b031fb5 /src/mds-server/client.c | |
parent | fix bugs (diff) | |
download | mds-4ffd427a3331c4b7789e7dad8c5261904fd1346b.tar.gz mds-4ffd427a3331c4b7789e7dad8c5261904fd1346b.tar.bz2 mds-4ffd427a3331c4b7789e7dad8c5261904fd1346b.tar.xz |
fix errors
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rw-r--r-- | src/mds-server/client.c | 2 |
1 files changed, 1 insertions, 1 deletions
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++) { |