From 188a15088e9b22426e42a543c03563f0b0a24063 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Fri, 22 Aug 2014 18:46:07 +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-vt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mds-vt.c b/src/mds-vt.c index bb86101..57959ba 100644 --- a/src/mds-vt.c +++ b/src/mds-vt.c @@ -225,7 +225,7 @@ size_t marshal_server_size(void) { size_t rc = 5 * sizeof(int) + sizeof(int32_t); rc += sizeof(struct stat); - rc += sizeof(vtfile_path); + rc += PATH_MAX * sizeof(char); rc += mds_message_marshal_size(&received); return rc; } -- cgit v1.2.3-70-g09d2