summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2013-09-25 07:16:39 +0200
committerStefan Metzmacher <metze@samba.org>2013-10-05 14:04:07 +0200
commit596f802d5d56a446cb911fcb776ce84d6b44ea39 (patch)
treef080f75e528b9ae972ea54e25826b9711300177b
parent5736f134003f426530040e732a6acc1c86b33f5f (diff)
downloadsamba-596f802d5d56a446cb911fcb776ce84d6b44ea39.tar.gz
samba-596f802d5d56a446cb911fcb776ce84d6b44ea39.tar.bz2
samba-596f802d5d56a446cb911fcb776ce84d6b44ea39.zip
s4:libcli:smb2: make smbcli_options argument to smb2_connect_(send|ext) const
Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
-rw-r--r--source4/libcli/smb2/connect.c4
1 files changed, 2 insertions, 2 deletions
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)
{