summaryrefslogtreecommitdiff
path: root/source/smbd/lanman.c
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2005-12-10 11:22:01 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:05:46 -0500
commitb15815c804bf3e558ed6357b5e9a6e3e0fac777f (patch)
tree65505a1152c0be9f188706fc3e1a50170b2b2087 /source/smbd/lanman.c
parentd1a9d0587cd9a391f0193ca76cb319803c6e019f (diff)
downloadsamba-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.c2
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) ) {