From: Stefan Metzmacher Date: Thu, 3 Apr 2025 08:33:32 +0000 (+0200) Subject: s4:libcli: remove unused ports from struct smb_composite_fetchfile X-Git-Tag: tevent-0.17.0~313 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b35610f990fae4c99c2be9f63fdf2383f10f216f;p=thirdparty%2Fsamba.git s4:libcli: remove unused ports from struct smb_composite_fetchfile Signed-off-by: Stefan Metzmacher Reviewed-by: Volker Lendecke --- diff --git a/source4/libcli/smb_composite/smb_composite.h b/source4/libcli/smb_composite/smb_composite.h index 3a2ac9e0c1d..437edb53953 100644 --- a/source4/libcli/smb_composite/smb_composite.h +++ b/source4/libcli/smb_composite/smb_composite.h @@ -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; diff --git a/source4/torture/raw/composite.c b/source4/torture/raw/composite.c index 7e72fc77184..19d61233002 100644 --- a/source4/torture/raw/composite.c +++ b/source4/torture/raw/composite.c @@ -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:";