]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
s4:libcli: remove unused ports from struct smb_composite_fetchfile
authorStefan Metzmacher <metze@samba.org>
Thu, 3 Apr 2025 08:33:32 +0000 (10:33 +0200)
committerStefan Metzmacher <metze@samba.org>
Fri, 18 Apr 2025 10:17:29 +0000 (10:17 +0000)
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
source4/libcli/smb_composite/smb_composite.h
source4/torture/raw/composite.c

index 3a2ac9e0c1d72b346cb8240695268f815211c131..437edb539533043606f0e6b65fb64c9bbce3f5ac 100644 (file)
@@ -57,7 +57,6 @@ NTSTATUS smb_composite_loadfile(struct smbcli_tree *tree,
 struct smb_composite_fetchfile {
        struct {
                const char *dest_host;
-               const char **ports;
                const char *called_name;
                const char *service;
                const char *service_type;
index 7e72fc7718487a35186cd3f4b66f3c5e93dc7476..19d61233002b0d81843731ce797d00096e5469f1 100644 (file)
@@ -153,7 +153,6 @@ static bool test_fetchfile(struct torture_context *tctx, struct smbcli_state *cl
        ZERO_STRUCT(io2);
 
        io2.in.dest_host = torture_setting_string(tctx, "host", NULL);
-       io2.in.ports = lpcfg_smb_ports(tctx->lp_ctx);
        io2.in.called_name = torture_setting_string(tctx, "host", NULL);
        io2.in.service = torture_setting_string(tctx, "share", NULL);
        io2.in.service_type = "A:";