summaryrefslogtreecommitdiff
path: root/source3/libsmb
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2004-03-30 08:03:32 +0000
committerVolker Lendecke <vlendec@samba.org>2004-03-30 08:03:32 +0000
commit97b200d422ce7e4acc9a6a9e786c4d44b3c6dfc3 (patch)
tree50ef7d1fbbf9ffc55617faed2fe7bcb00dd20422 /source3/libsmb
parent1a643a6fe9aded2530cf10177b527071b34db95f (diff)
downloadsamba-97b200d422ce7e4acc9a6a9e786c4d44b3c6dfc3.tar.gz
samba-97b200d422ce7e4acc9a6a9e786c4d44b3c6dfc3.tar.bz2
samba-97b200d422ce7e4acc9a6a9e786c4d44b3c6dfc3.zip
Apply some const
(This used to be commit 8037750df568e6b51b2b0cba9192468110470388)
Diffstat (limited to 'source3/libsmb')
-rw-r--r--source3/libsmb/samlogon_cache.c4
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;