diff options
Diffstat (limited to 'source3')
-rw-r--r-- | source3/smbd/password.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/password.c b/source3/smbd/password.c index ed3b14102b..f2956237dd 100644 --- a/source3/smbd/password.c +++ b/source3/smbd/password.c @@ -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); |