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 | b15815c804bf3e558ed6357b5e9a6e3e0fac777f (patch) | |
tree | 65505a1152c0be9f188706fc3e1a50170b2b2087 /source/smbd/lanman.c | |
parent | d1a9d0587cd9a391f0193ca76cb319803c6e019f (diff) | |
download | samba-b15815c804bf3e558ed6357b5e9a6e3e0fac777f.tar.gz |
r12163: Change lookup_sid and lookup_name to return const char * instead of char *,
use a temporary talloc_ctx for clarity.
Volker
Diffstat (limited to 'source/smbd/lanman.c')
-rw-r--r-- | source/smbd/lanman.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/smbd/lanman.c b/source/smbd/lanman.c index 90e36e2a839..4778702e7ac 100644 --- a/source/smbd/lanman.c +++ b/source/smbd/lanman.c @@ -1894,7 +1894,7 @@ static BOOL api_NetUserGetGroups(connection_struct *conn,uint16 vuid, char *para for (i=0; i<num_groups; i++) { - char *grp_name; + const char *grp_name; if ( lookup_sid(sampw->mem_ctx, &sids[i], NULL, &grp_name, NULL) ) { |