diff options
author | Volker Lendecke <vl@samba.org> | 2010-12-31 14:01:05 +0100 |
---|---|---|
committer | Volker Lendecke <vlendec@samba.org> | 2010-12-31 14:48:57 +0100 |
commit | 659bb646e45dd408b8922b2812ef9f6379ded64e (patch) | |
tree | 5cc3a107b2035a40c73bf28a933297e5dc38df2e /source3/libsmb | |
parent | ba15b7af0708ed838a0589d3c9c6ade3dfadac9c (diff) | |
download | samba-659bb646e45dd408b8922b2812ef9f6379ded64e.tar.gz samba-659bb646e45dd408b8922b2812ef9f6379ded64e.tar.bz2 samba-659bb646e45dd408b8922b2812ef9f6379ded64e.zip |
s3: Add some const to receive_getdc_response
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Fri Dec 31 14:48:57 CET 2010 on sn-devel-104
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 c1b2fd19b0..50bcbd8a04 100644 --- a/source3/libsmb/clidgram.c +++ b/source3/libsmb/clidgram.c @@ -198,7 +198,7 @@ bool send_getdc_request(TALLOC_CTX *mem_ctx, } bool receive_getdc_response(TALLOC_CTX *mem_ctx, - struct sockaddr_storage *dc_ss, + const struct sockaddr_storage *dc_ss, const char *domain_name, int dgm_id, uint32_t *nt_version, diff --git a/source3/libsmb/clidgram.h b/source3/libsmb/clidgram.h index 26c59f450e..7c650a06ca 100644 --- a/source3/libsmb/clidgram.h +++ b/source3/libsmb/clidgram.h @@ -10,7 +10,7 @@ bool send_getdc_request(TALLOC_CTX *mem_ctx, uint32_t nt_version, int dgm_id); bool receive_getdc_response(TALLOC_CTX *mem_ctx, - struct sockaddr_storage *dc_ss, + const struct sockaddr_storage *dc_ss, const char *domain_name, int dgm_id, uint32_t *nt_version, |