summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-rw-r--r--source3/include/proto.h4
-rw-r--r--source3/libsmb/trustdom_cache.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h
index 0228120cc6..2d61ef4a4e 100644
--- a/source3/include/proto.h
+++ b/source3/include/proto.h
@@ -1127,8 +1127,8 @@ WERROR map_werror_from_unix(int error);
bool trustdom_cache_enable(void);
bool trustdom_cache_shutdown(void);
-bool trustdom_cache_store(char* name, char* alt_name, const struct dom_sid *sid,
- time_t timeout);
+bool trustdom_cache_store(const char *name, const char *alt_name,
+ const struct dom_sid *sid, time_t timeout);
bool trustdom_cache_fetch(const char* name, struct dom_sid* sid);
uint32 trustdom_cache_fetch_timestamp( void );
bool trustdom_cache_store_timestamp( uint32 t, time_t timeout );
diff --git a/source3/libsmb/trustdom_cache.c b/source3/libsmb/trustdom_cache.c
index 95ea3dad28..8789d30338 100644
--- a/source3/libsmb/trustdom_cache.c
+++ b/source3/libsmb/trustdom_cache.c
@@ -100,8 +100,8 @@ static char* trustdom_cache_key(const char* name)
* false if store attempt failed
**/
-bool trustdom_cache_store(char* name, char* alt_name, const struct dom_sid *sid,
- time_t timeout)
+bool trustdom_cache_store(const char *name, const char *alt_name,
+ const struct dom_sid *sid, time_t timeout)
{
char *key, *alt_key;
fstring sid_string;