summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/fc/fserve.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fc/fserve.c b/src/fc/fserve.c
index 94604d7..c676234 100644
--- a/src/fc/fserve.c
+++ b/src/fc/fserve.c
@@ -2857,7 +2857,7 @@ _fs_client_access (FSFpePtr conn, pointer client, Bool sync)
authorizations = padding;
authlen = 4;
}
- crac.length = (sizeof (fsCreateACReq) + authlen) >> 2;
+ crac.length = (sizeof (fsCreateACReq) + authlen + 3) >> 2;
crac.acid = cur->acid;
_fs_add_req_log(conn, FS_CreateAC);
_fs_write(conn, (char *) &crac, sizeof (fsCreateACReq));