From c4d1f9a1e8961c051eb1cee2aa9d93b1b120d836 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Fri, 6 Sep 2002 10:43:52 +0000 Subject: Oops... (This used to be commit 9a6f932da1c85a331a8427f055b5fa798dbda89b) --- source3/smbd/password.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/smbd/password.c') 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); -- cgit