diff options
author | Andrew Bartlett <abartlet@samba.org> | 2002-01-26 05:53:07 +0000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2002-01-26 05:53:07 +0000 |
commit | 3e29c28a0bb8e6c1b4f8acba6f9bfeb6b3b983b7 (patch) | |
tree | a02b6aa5b164148a9215f35e176b27d7970beec3 /source3/utils | |
parent | 29ad4a76cd629ba28087926080558f57417aa00c (diff) | |
download | samba-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/utils')
-rw-r--r-- | source3/utils/pdbedit.c | 3 |
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 { |