From: Stefan Metzmacher Date: Thu, 3 Apr 2025 08:55:00 +0000 (+0200) Subject: s4:torture: remove unused ports from masktests.c X-Git-Tag: tevent-0.17.0~306 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fda0f2e71a2767a887d077e8f6be74426bb32447;p=thirdparty%2Fsamba.git s4:torture: remove unused ports from masktests.c Signed-off-by: Stefan Metzmacher Reviewed-by: Volker Lendecke --- diff --git a/source4/torture/masktest.c b/source4/torture/masktest.c index 3719692b5f7..b021eb0135f 100644 --- a/source4/torture/masktest.c +++ b/source4/torture/masktest.c @@ -74,7 +74,7 @@ return a connection to a server static struct smbcli_state *connect_one(struct resolve_context *resolve_ctx, struct tevent_context *ev, TALLOC_CTX *mem_ctx, - char *share, const char **ports, + char *share, const char *socket_options, struct smbcli_options *options, struct smbcli_session_options *session_options, @@ -396,7 +396,7 @@ int main(int argc, const char *argv[]) lpcfg_smbcli_session_options(lp_ctx, &session_options); cli = connect_one(lpcfg_resolve_context(lp_ctx), ev, mem_ctx, share, - lpcfg_smb_ports(lp_ctx), lpcfg_socket_options(lp_ctx), + lpcfg_socket_options(lp_ctx), &options, &session_options, lpcfg_gensec_settings(mem_ctx, lp_ctx)); if (!cli) {