Add const.
authorAndrew Bartlett <abartlet@samba.org>
Sat, 17 Aug 2002 06:36:18 +0000 (06:36 +0000)
committerAndrew Bartlett <abartlet@samba.org>
Sat, 17 Aug 2002 06:36:18 +0000 (06:36 +0000)
(This used to be commit fb28abd120310a591bdf5fa1afc5521443c3d34c)

source3/smbd/service.c

index 26e00aa49f307f3eabe719799e06c385e9882403..6f83a2d3b75ce22d5302ddd2c33d795057921280 100644 (file)
@@ -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);