diff options
author | Stefan Metzmacher <metze@samba.org> | 2020-07-03 11:54:42 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2020-07-08 15:54:38 +0000 |
commit | ce7eaca7353289ee4959406a39536a1efbc9d2ac (patch) | |
tree | 979080651cc58a0eb9f6037addd279dd300e3566 /source4 | |
parent | 7d06874478edb29a14eedcd8d634f3bf5d8dee50 (diff) | |
download | samba-ce7eaca7353289ee4959406a39536a1efbc9d2ac.tar.gz |
s4:libcli/smb2: add const to struct smbcli_options *options for smb2_connect()
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>
Diffstat (limited to 'source4')
-rw-r--r-- | source4/libcli/smb2/connect.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) { |