diff options
author | Jeremy Allison <jra@samba.org> | 2020-06-03 13:56:37 -0700 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2020-06-04 17:11:38 +0000 |
commit | 8ae2851ebc91df7dded6be6a726bc809e86cc511 (patch) | |
tree | 3a9b8f903031f576d818d1b2c59c173dc955798c /source3/libsmb/clilist.c | |
parent | 2d6b1ef790d0e594050e0a02c48dd0faf3693c3b (diff) | |
download | samba-8ae2851ebc91df7dded6be6a726bc809e86cc511.tar.gz |
s3: libsmb: Make cli_list_old() take 32-bit attribute.
Only uses 16 on the wire. No change needed in callers.
Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
Diffstat (limited to 'source3/libsmb/clilist.c')
-rw-r--r-- | source3/libsmb/clilist.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/libsmb/clilist.c b/source3/libsmb/clilist.c index b2327ed97ad..b453900b3f4 100644 --- a/source3/libsmb/clilist.c +++ b/source3/libsmb/clilist.c @@ -361,7 +361,7 @@ struct cli_list_old_state { uint16_t vwv[2]; char *mask; int num_asked; - uint16_t attribute; + uint32_t attribute; uint8_t search_status[23]; bool first; bool done; @@ -374,7 +374,7 @@ static struct tevent_req *cli_list_old_send(TALLOC_CTX *mem_ctx, struct tevent_context *ev, struct cli_state *cli, const char *mask, - uint16_t attribute) + uint32_t attribute) { struct tevent_req *req, *subreq; struct cli_list_old_state *state; @@ -568,7 +568,7 @@ static NTSTATUS cli_list_old_recv(struct tevent_req *req, TALLOC_CTX *mem_ctx, } NTSTATUS cli_list_old(struct cli_state *cli, const char *mask, - uint16_t attribute, + uint32_t attribute, NTSTATUS (*fn)(const char *, struct file_info *, const char *, void *), void *state) { |