]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
s4:client: remove unused destports from do_message_op()
authorStefan Metzmacher <metze@samba.org>
Thu, 3 Apr 2025 08:41:59 +0000 (10:41 +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/client/client.c

index 2b96049bb91d9b9fde7ff46084dcfe2805aa9415..bbbe888bc36bee60a5c4272b2176f0ff9041d308 100644 (file)
@@ -3253,7 +3253,7 @@ static int do_host_query(struct loadparm_context *lp_ctx,
 handle a message operation
 ****************************************************************************/
 static int do_message_op(const char *netbios_name, const char *desthost,
-                        const char **destports, const char *destip,
+                        const char *destip,
                         int name_type,
                         struct tevent_context *ev_ctx,
                         struct resolve_context *resolve_ctx,
@@ -3522,7 +3522,7 @@ int main(int argc, char *argv[])
 
        if (message) {
                rc = do_message_op(lpcfg_netbios_name(lp_ctx), desthost,
-                                  lpcfg_smb_ports(lp_ctx), dest_ip,
+                                  dest_ip,
                                   name_type, ev_ctx,
                                   lpcfg_resolve_context(lp_ctx),
                                   &smb_options,