smbclient: Wrap a few long lines
authorVolker Lendecke <vl@samba.org>
Sun, 11 Oct 2020 05:35:52 +0000 (07:35 +0200)
committerJeremy Allison <jra@samba.org>
Wed, 4 Nov 2020 18:55:40 +0000 (18:55 +0000)
Make the next patch simpler

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/client/client.c

index d9db3a9393e957e3d8d7dd3594e16098e5c207d0..0c14e65389d8769bc652064daa393ec579283a11 100644 (file)
@@ -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);