1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-01 21:18:10 +03:00
(This used to be commit 9a6f932da1)
This commit is contained in:
Andrew Bartlett 2002-09-06 10:43:52 +00:00
parent 4aad4d7c73
commit c4d1f9a1e8

View File

@ -226,7 +226,7 @@ void add_session_user(const char *user)
fstring suser;
struct passwd *passwd;
if (!passwd = Get_Pwnam(user)) return;
if (!(passwd = Get_Pwnam(user))) return;
StrnCpy(suser,passwd->pw_name,sizeof(suser)-1);