From 8d63b622df42111b603d5f6fe2fa31490eb7cd98 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Thu, 15 Aug 2019 16:33:57 +0200 Subject: [PATCH] smbd: Make "current_state" show up first in the blob Believe it or not, but without this change "num_files" was first. Thanks Metze for this (to me at least) really, really surprising insight! Signed-off-by: Volker Lendecke Reviewed-by: Jeremy Allison --- source3/librpc/idl/leases_db.idl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source3/librpc/idl/leases_db.idl b/source3/librpc/idl/leases_db.idl index ed9f27643ab..2551dfc2ba0 100644 --- a/source3/librpc/idl/leases_db.idl +++ b/source3/librpc/idl/leases_db.idl @@ -49,6 +49,6 @@ interface leases_db uint16 epoch; uint32 num_files; - [size_is(num_files)] leases_db_file files[]; + leases_db_file files[num_files]; } leases_db_value; } -- 2.11.4.GIT