diff options
author | Volker Lendecke <vlendec@samba.org> | 2004-03-10 16:32:58 +0000 |
---|---|---|
committer | Volker Lendecke <vlendec@samba.org> | 2004-03-10 16:32:58 +0000 |
commit | 8240abca9564a87feff1783739a03bb708610271 (patch) | |
tree | 8ca79917b0c5f41790f988e53f89dc756cf11685 /source3/libsmb | |
parent | faab4f3c27d994add8691817c2ec965e459fce96 (diff) | |
download | samba-8240abca9564a87feff1783739a03bb708610271.tar.gz samba-8240abca9564a87feff1783739a03bb708610271.tar.bz2 samba-8240abca9564a87feff1783739a03bb708610271.zip |
Apply some const
(This used to be commit e2696b81bb5e4d12281cf99dc50f91844ae51c2e)
Diffstat (limited to 'source3/libsmb')
-rw-r--r-- | source3/libsmb/samlogon_cache.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/libsmb/samlogon_cache.c b/source3/libsmb/samlogon_cache.c index 72c10007bf..4cd642c4e3 100644 --- a/source3/libsmb/samlogon_cache.c +++ b/source3/libsmb/samlogon_cache.c @@ -157,7 +157,7 @@ BOOL netsamlogon_cache_store(TALLOC_CTX *mem_ctx, NET_USER_INFO_3 *user) free the user_info struct (malloc()'d memory) ***********************************************************************/ -NET_USER_INFO_3* netsamlogon_cache_get( TALLOC_CTX *mem_ctx, DOM_SID *user_sid) +NET_USER_INFO_3* netsamlogon_cache_get( TALLOC_CTX *mem_ctx, const DOM_SID *user_sid) { NET_USER_INFO_3 *user = NULL; TDB_DATA data, key; @@ -218,7 +218,7 @@ NET_USER_INFO_3* netsamlogon_cache_get( TALLOC_CTX *mem_ctx, DOM_SID *user_sid) return user; } -BOOL netsamlogon_cache_have(DOM_SID *user_sid) +BOOL netsamlogon_cache_have(const DOM_SID *user_sid) { TALLOC_CTX *mem_ctx = talloc_init("netsamlogon_cache_have"); NET_USER_INFO_3 *user = NULL; |