diff options
author | Volker Lendecke <vlendec@samba.org> | 2005-12-10 11:22:01 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 11:05:46 -0500 |
commit | 661c5c741a5285a5ddf8c1fc74ba50335f1c1931 (patch) | |
tree | 302c96613f7b9981097d8a2e84b59489d815ebcd /source3/passdb/util_wellknown.c | |
parent | 78fa625d2532da8e17ac599455f41db373f9c1ba (diff) | |
download | samba-661c5c741a5285a5ddf8c1fc74ba50335f1c1931.tar.gz |
r12163: Change lookup_sid and lookup_name to return const char * instead of char *,
use a temporary talloc_ctx for clarity.
Volker
(This used to be commit b15815c804bf3e558ed6357b5e9a6e3e0fac777f)
Diffstat (limited to 'source3/passdb/util_wellknown.c')
-rw-r--r-- | source3/passdb/util_wellknown.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/passdb/util_wellknown.c b/source3/passdb/util_wellknown.c index b1eb8b42372..8caae3b2a01 100644 --- a/source3/passdb/util_wellknown.c +++ b/source3/passdb/util_wellknown.c @@ -75,7 +75,7 @@ static struct sid_name_map_info special_domains[] = { ***************************************************************************/ BOOL lookup_wellknown_sid(TALLOC_CTX *mem_ctx, const DOM_SID *sid, - char **domain, char **name) + const char **domain, const char **name) { int i; DOM_SID dom_sid; @@ -121,7 +121,7 @@ BOOL lookup_wellknown_sid(TALLOC_CTX *mem_ctx, const DOM_SID *sid, ***************************************************************************/ BOOL lookup_wellknown_name(TALLOC_CTX *mem_ctx, const char *name, - DOM_SID *sid, char **domain) + DOM_SID *sid, const char **domain) { int i, j; |