* src/usermod.c: Re-indent.
* src/usermod.c: Avoid implicit conversion of pointers to booleans. * src/usermod.c: Added parenthesis.
This commit is contained in:
parent
5cd1d6e287
commit
f9b8a95b92
@ -1,3 +1,10 @@
|
||||
2010-03-11 Nicolas François <nicolas.francois@centraliens.net>
|
||||
|
||||
* src/usermod.c: Re-indent.
|
||||
* src/usermod.c: Avoid implicit conversion of pointers to
|
||||
booleans.
|
||||
* src/usermod.c: Added parenthesis.
|
||||
|
||||
2010-03-11 Nicolas François <nicolas.francois@centraliens.net>
|
||||
|
||||
* src/pwunconv.c: Only check USE_TCB if configured WITH_TCB.
|
||||
|
@ -1793,8 +1793,8 @@ int main (int argc, char **argv)
|
||||
close_files ();
|
||||
|
||||
#ifdef WITH_TCB
|
||||
if ((user_newname || user_newid != -1) &&
|
||||
!shadowtcb_move(user_newname, user_newid)) {
|
||||
if ( ((NULL != user_newname) || (user_newid != -1))
|
||||
&& (!shadowtcb_move (user_newname, user_newid)) ) {
|
||||
exit (E_PW_UPDATE);
|
||||
}
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user