summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2002-01-26 05:53:07 +0000
committerAndrew Bartlett <abartlet@samba.org>2002-01-26 05:53:07 +0000
commit3e29c28a0bb8e6c1b4f8acba6f9bfeb6b3b983b7 (patch)
treea02b6aa5b164148a9215f35e176b27d7970beec3 /source3
parent29ad4a76cd629ba28087926080558f57417aa00c (diff)
downloadsamba-3e29c28a0bb8e6c1b4f8acba6f9bfeb6b3b983b7.tar.gz
samba-3e29c28a0bb8e6c1b4f8acba6f9bfeb6b3b983b7.tar.bz2
samba-3e29c28a0bb8e6c1b4f8acba6f9bfeb6b3b983b7.zip
Try to get the compiler not to complain about assignments and truth values...
Andrew Bartlett (This used to be commit 6650b21ceabefab037cfd3b135039914fb75e3a9)
Diffstat (limited to 'source3')
-rw-r--r--source3/utils/pdbedit.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/source3/utils/pdbedit.c b/source3/utils/pdbedit.c
index 08ba54605f..5202d8d3fe 100644
--- a/source3/utils/pdbedit.c
+++ b/source3/utils/pdbedit.c
@@ -227,8 +227,7 @@ static int new_user (char *username, char *fullname, char *homedir, char *drive,
ZERO_STRUCT(sam_pwent);
- if (pwd = getpwnam_alloc(username)) {
-
+ if ((pwd = getpwnam_alloc(username))) {
pdb_init_sam_pw (&sam_pwent, pwd);
passwd_free(&pwd);
} else {