git.samba.org
/
kai
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
29ad4a7
)
Try to get the compiler not to complain about assignments and truth values...
author
Andrew Bartlett
<abartlet@samba.org>
Sat, 26 Jan 2002 05:53:07 +0000
(
05:53
+0000)
committer
Andrew Bartlett
<abartlet@samba.org>
Sat, 26 Jan 2002 05:53:07 +0000
(
05:53
+0000)
Andrew Bartlett
(This used to be commit
6650b21ceabefab037cfd3b135039914fb75e3a9
)
source3/utils/pdbedit.c
patch
|
blob
|
history
diff --git
a/source3/utils/pdbedit.c
b/source3/utils/pdbedit.c
index 08ba54605fcc62ffa3e29604b94f1016e2346c50..5202d8d3fe8e0317bbb802d220ada31f8f36462f 100644
(file)
--- 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 {