diff options
Diffstat (limited to 'source3')
-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 { |