From 3e29c28a0bb8e6c1b4f8acba6f9bfeb6b3b983b7 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Sat, 26 Jan 2002 05:53:07 +0000 Subject: Try to get the compiler not to complain about assignments and truth values... Andrew Bartlett (This used to be commit 6650b21ceabefab037cfd3b135039914fb75e3a9) --- source3/utils/pdbedit.c | 3 +-- 1 file changed, 1 insertion(+), 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 { -- cgit