summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2021-10-25 15:23:43 +0200
committerJeremy Allison <jra@samba.org>2022-11-22 18:27:33 +0000
commit0c419b8a204bd21e8991356ac88188c98bcfbb79 (patch)
tree43e657ffe1809c2ef0132df0d53c88c97c41183b /examples
parent218baae2d364dff581bb88ccd2a773e617ec8be8 (diff)
downloadsamba-0c419b8a204bd21e8991356ac88188c98bcfbb79.tar.gz
libsmb: Return symlink error struct from smb2cli_create_recv()
Looks larger than it is, this just adds a parameter and while there adapts long lines to README.Coding Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'examples')
-rw-r--r--examples/fuse/clifuse.c22
1 files changed, 16 insertions, 6 deletions
diff --git a/examples/fuse/clifuse.c b/examples/fuse/clifuse.c
index f75a9f5a2d7..721b282baf0 100644
--- a/examples/fuse/clifuse.c
+++ b/examples/fuse/clifuse.c
@@ -267,8 +267,14 @@ static void cli_get_unixattr_opened(struct tevent_req *subreq)
struct cli_state *cli = state->cli;
NTSTATUS status;
- status = smb2cli_create_recv(subreq, &state->fid_persistent,
- &state->fid_volatile, NULL, NULL, NULL);
+ status = smb2cli_create_recv(
+ subreq,
+ &state->fid_persistent,
+ &state->fid_volatile,
+ NULL,
+ NULL,
+ NULL,
+ NULL);
TALLOC_FREE(subreq);
if (tevent_req_nterror(req, status)) {
DBG_DEBUG("smb2cli_create_recv returned %s\n",
@@ -1174,10 +1180,14 @@ static void cli_ll_opendir_done(struct tevent_req *req)
req, struct ll_opendir_state);
NTSTATUS status;
- status = smb2cli_create_recv(req,
- &state->dir_state->fid_persistent,
- &state->dir_state->fid_volatile,
- NULL, NULL, NULL);
+ status = smb2cli_create_recv(
+ req,
+ &state->dir_state->fid_persistent,
+ &state->dir_state->fid_volatile,
+ NULL,
+ NULL,
+ NULL,
+ NULL);
TALLOC_FREE(req);
DEBUG(10, ("%s: smbcli_create_recv returned %s\n", __func__,