diff options
author | Volker Lendecke <vl@samba.org> | 2010-12-31 14:00:43 +0100 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2010-12-31 14:02:04 +0100 |
commit | ba15b7af0708ed838a0589d3c9c6ade3dfadac9c (patch) | |
tree | 69fcb91aa9dfc19a412db1dc8a79f68d400cab95 /source3/libsmb | |
parent | 8e861852c0d30f74a56df3b33e356248c8fc964a (diff) | |
download | samba-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.c | 2 | ||||
-rw-r--r-- | source3/libsmb/clidgram.h | 2 |
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, |