summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2002-09-06 10:43:52 +0000
committerAndrew Bartlett <abartlet@samba.org>2002-09-06 10:43:52 +0000
commitc4d1f9a1e8961c051eb1cee2aa9d93b1b120d836 (patch)
tree8bb96cb02f1b45ad760e0f7fb6223e98bca42970
parent4aad4d7c73dcf8d1d0e932c21cae49a3700caf01 (diff)
downloadsamba-c4d1f9a1e8961c051eb1cee2aa9d93b1b120d836.tar.gz
samba-c4d1f9a1e8961c051eb1cee2aa9d93b1b120d836.tar.bz2
samba-c4d1f9a1e8961c051eb1cee2aa9d93b1b120d836.zip
Oops...
(This used to be commit 9a6f932da1c85a331a8427f055b5fa798dbda89b)
-rw-r--r--source3/smbd/password.c2
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);