From 596f802d5d56a446cb911fcb776ce84d6b44ea39 Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Wed, 25 Sep 2013 07:16:39 +0200 Subject: s4:libcli:smb2: make smbcli_options argument to smb2_connect_(send|ext) const Signed-off-by: Michael Adam Reviewed-by: Stefan Metzmacher Reviewed-by: Jeremy Allison --- source4/libcli/smb2/connect.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source4/libcli') diff --git a/source4/libcli/smb2/connect.c b/source4/libcli/smb2/connect.c index 5cdf258e7c..18977d8523 100644 --- a/source4/libcli/smb2/connect.c +++ b/source4/libcli/smb2/connect.c @@ -64,7 +64,7 @@ struct tevent_req *smb2_connect_send(TALLOC_CTX *mem_ctx, struct resolve_context *resolve_ctx, struct cli_credentials *credentials, uint64_t previous_session_id, - struct smbcli_options *options, + const struct smbcli_options *options, const char *socket_options, struct gensec_settings *gensec_settings) { @@ -284,7 +284,7 @@ NTSTATUS smb2_connect_ext(TALLOC_CTX *mem_ctx, uint64_t previous_session_id, 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