]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
smbd: Make "current_state" show up first in the blob
authorVolker Lendecke <vl@samba.org>
Thu, 15 Aug 2019 14:33:57 +0000 (16:33 +0200)
committerJeremy Allison <jra@samba.org>
Tue, 17 Sep 2019 22:49:36 +0000 (22:49 +0000)
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 <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/librpc/idl/leases_db.idl

index ed9f27643abb504ef587e25ce1f011933d366aa0..2551dfc2ba06d2420c0d783350a1fe9c4e4eac4f 100644 (file)
@@ -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;
 }