From: Volker Lendecke Date: Sun, 11 Oct 2020 05:35:52 +0000 (+0200) Subject: smbclient: Wrap a few long lines X-Git-Tag: talloc-2.3.2~62 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=fd4308640ffde8de8fd79491539b01530c24e3c5;p=thirdparty%2Fsamba.git smbclient: Wrap a few long lines Make the next patch simpler Signed-off-by: Volker Lendecke Reviewed-by: Jeremy Allison --- diff --git a/source3/client/client.c b/source3/client/client.c index d9db3a9393e..0c14e65389d 100644 --- a/source3/client/client.c +++ b/source3/client/client.c @@ -723,8 +723,11 @@ static int do_list_queue_empty(void) A helper for do_list. ****************************************************************************/ -static NTSTATUS do_list_helper(const char *mntpoint, struct file_info *f, - const char *mask, void *state) +static NTSTATUS do_list_helper( + const char *mntpoint, + struct file_info *f, + const char *mask, + void *state) { struct cli_state *cli_state = (struct cli_state *)state; TALLOC_CTX *ctx = talloc_tos(); @@ -839,9 +842,14 @@ NTSTATUS do_list(const char *mask, /* check for dfs */ - status = cli_resolve_path(ctx, "", - creds, - cli, head, &targetcli, &targetpath); + status = cli_resolve_path( + ctx, + "", + creds, + cli, + head, + &targetcli, + &targetpath); if (!NT_STATUS_IS_OK(status)) { d_printf("do_list: [%s] %s\n", head, nt_errstr(status)); @@ -849,8 +857,12 @@ NTSTATUS do_list(const char *mask, continue; } - status = cli_list(targetcli, targetpath, attribute, - do_list_helper, targetcli); + status = cli_list( + targetcli, + targetpath, + attribute, + do_list_helper, + targetcli); if (!NT_STATUS_IS_OK(status)) { d_printf("%s listing %s\n", nt_errstr(status), targetpath);