]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
s3:mdssvc: macOS returns UINT64_MAX, not 0 for closeQueryForContext mdscmd
authorRalph Boehme <slow@samba.org>
Tue, 16 Apr 2019 17:14:39 +0000 (19:14 +0200)
committerJeremy Allison <jra@samba.org>
Thu, 8 Aug 2019 20:24:33 +0000 (20:24 +0000)
Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/rpc_server/mdssvc/mdssvc.c

index 5b1f291d054864f7cb3e96c22290bcd1efdecb8b..c93775280b7635c68dfeedff78114da26701a0ac 100644 (file)
@@ -1388,7 +1388,7 @@ static bool slrpc_close_query(struct mds_ctx *mds_ctx,
        TALLOC_FREE(slq);
 
 done:
-       sl_res = 0;
+       sl_res = UINT64_MAX;
        result = dalloc_add_copy(array, &sl_res, uint64_t);
        if (result != 0) {
                return false;