summaryrefslogtreecommitdiff
path: root/source3/smbd/map_username.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2009-09-24 15:44:28 -0700
committerJeremy Allison <jra@samba.org>2009-09-24 15:44:28 -0700
commit536c4dd2d69f9a35547c0ce77b47c4f0b03aa5ac (patch)
tree97c6fdb2c4ecb7bee1b77accd6411fc679c1b046 /source3/smbd/map_username.c
parent4f10aa59730b44fc4328daca3e2e43693fc1b69f (diff)
downloadsamba-536c4dd2d69f9a35547c0ce77b47c4f0b03aa5ac.tar.gz
samba-536c4dd2d69f9a35547c0ce77b47c4f0b03aa5ac.tar.bz2
samba-536c4dd2d69f9a35547c0ce77b47c4f0b03aa5ac.zip
Revert b39c390280d1f268e2550c731057aec550a3f086 - casts should not
be here. Jeremy.
Diffstat (limited to 'source3/smbd/map_username.c')
-rw-r--r--source3/smbd/map_username.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/map_username.c b/source3/smbd/map_username.c
index e9ef74cf25..24b4ddd271 100644
--- a/source3/smbd/map_username.c
+++ b/source3/smbd/map_username.c
@@ -146,7 +146,7 @@ bool map_username(struct smbd_server_connection *sconn, fstring user)
while((s=fgets_slash(buf,sizeof(buf),f))!=NULL) {
char *unixname = s;
char *dosname = strchr_m(unixname,'=');
- const char **dosuserlist;
+ char **dosuserlist;
bool return_if_mapped = False;
if (!dosname)