From ce7eaca7353289ee4959406a39536a1efbc9d2ac Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Fri, 3 Jul 2020 11:54:42 +0200 Subject: s4:libcli/smb2: add const to struct smbcli_options *options for smb2_connect() MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Reviewed-by: Günther Deschner --- source4/libcli/smb2/connect.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4') diff --git a/source4/libcli/smb2/connect.c b/source4/libcli/smb2/connect.c index 98aa148ea2c..6fc3993a4e8 100644 --- a/source4/libcli/smb2/connect.c +++ b/source4/libcli/smb2/connect.c @@ -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) { -- cgit v1.2.1