summaryrefslogtreecommitdiff
path: root/source3/libsmb
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2010-12-31 14:00:43 +0100
committerVolker Lendecke <vl@samba.org>2010-12-31 14:02:04 +0100
commitba15b7af0708ed838a0589d3c9c6ade3dfadac9c (patch)
tree69fcb91aa9dfc19a412db1dc8a79f68d400cab95 /source3/libsmb
parent8e861852c0d30f74a56df3b33e356248c8fc964a (diff)
downloadsamba-ba15b7af0708ed838a0589d3c9c6ade3dfadac9c.tar.gz
samba-ba15b7af0708ed838a0589d3c9c6ade3dfadac9c.tar.bz2
samba-ba15b7af0708ed838a0589d3c9c6ade3dfadac9c.zip
s3: Add some const to send_getdc_request
Diffstat (limited to 'source3/libsmb')
-rw-r--r--source3/libsmb/clidgram.c2
-rw-r--r--source3/libsmb/clidgram.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/source3/libsmb/clidgram.c b/source3/libsmb/clidgram.c
index 6a7c1b9fd0..c1b2fd19b0 100644
--- a/source3/libsmb/clidgram.c
+++ b/source3/libsmb/clidgram.c
@@ -130,7 +130,7 @@ static const char *mailslot_name(TALLOC_CTX *mem_ctx, struct in_addr dc_ip)
bool send_getdc_request(TALLOC_CTX *mem_ctx,
struct messaging_context *msg_ctx,
- struct sockaddr_storage *dc_ss,
+ const struct sockaddr_storage *dc_ss,
const char *domain_name,
const struct dom_sid *sid,
uint32_t nt_version,
diff --git a/source3/libsmb/clidgram.h b/source3/libsmb/clidgram.h
index b61c0b0f4f..26c59f450e 100644
--- a/source3/libsmb/clidgram.h
+++ b/source3/libsmb/clidgram.h
@@ -4,7 +4,7 @@
bool send_getdc_request(TALLOC_CTX *mem_ctx,
struct messaging_context *msg_ctx,
- struct sockaddr_storage *dc_ss,
+ const struct sockaddr_storage *dc_ss,
const char *domain_name,
const struct dom_sid *sid,
uint32_t nt_version,