]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
s4:libcli/smb2: add const to struct smbcli_options *options for smb2_connect()
authorStefan Metzmacher <metze@samba.org>
Fri, 3 Jul 2020 09:54:42 +0000 (11:54 +0200)
committerStefan Metzmacher <metze@samba.org>
Wed, 8 Jul 2020 15:54:38 +0000 (15:54 +0000)
It will just be passed to smb2_connect_ext(), which already takes a
const pointer.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=11897

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Günther Deschner <gd@samba.org>
source4/libcli/smb2/connect.c

index 98aa148ea2cb6e7a343f56e60eaaeffd7b78b2e3..6fc3993a4e893d6fcfb6b3d422ade3a30048c1e3 100644 (file)
@@ -408,7 +408,7 @@ NTSTATUS smb2_connect(TALLOC_CTX *mem_ctx,
                      struct cli_credentials *credentials,
                      struct smb2_tree **tree,
                      struct tevent_context *ev,
-                     struct smbcli_options *options,
+                     const struct smbcli_options *options,
                      const char *socket_options,
                      struct gensec_settings *gensec_settings)
 {