summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2002-08-17 06:36:18 +0000
committerAndrew Bartlett <abartlet@samba.org>2002-08-17 06:36:18 +0000
commit717b27c005311efe50aae7033a5e8c0908ea3abe (patch)
tree6c014b17f1a712bd6f4e93e0c76ae05e9031595a
parentc4ebde6b4b6a4e7a42ac2cc89216df1cad42a5f5 (diff)
downloadsamba-717b27c005311efe50aae7033a5e8c0908ea3abe.tar.gz
samba-717b27c005311efe50aae7033a5e8c0908ea3abe.tar.bz2
samba-717b27c005311efe50aae7033a5e8c0908ea3abe.zip
Add const.
(This used to be commit fb28abd120310a591bdf5fa1afc5521443c3d34c)
-rw-r--r--source3/smbd/service.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/service.c b/source3/smbd/service.c
index 26e00aa49f..6f83a2d3b7 100644
--- a/source3/smbd/service.c
+++ b/source3/smbd/service.c
@@ -347,7 +347,7 @@ static connection_struct *make_connection_snum(int snum, user_struct *vuser,
}
if (lp_guest_only(snum)) {
- char *guestname = lp_guestaccount();
+ const char *guestname = lp_guestaccount();
guest = True;
force = True;
pass = getpwnam_alloc(guestname);