* 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:
nekral-guest 2010-03-11 22:03:11 +00:00
parent 5cd1d6e287
commit f9b8a95b92
2 changed files with 12 additions and 5 deletions

View File

@ -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> 2010-03-11 Nicolas François <nicolas.francois@centraliens.net>
* src/pwunconv.c: Only check USE_TCB if configured WITH_TCB. * src/pwunconv.c: Only check USE_TCB if configured WITH_TCB.

View File

@ -1793,8 +1793,8 @@ int main (int argc, char **argv)
close_files (); close_files ();
#ifdef WITH_TCB #ifdef WITH_TCB
if ((user_newname || user_newid != -1) && if ( ((NULL != user_newname) || (user_newid != -1))
!shadowtcb_move(user_newname, user_newid)) { && (!shadowtcb_move (user_newname, user_newid)) ) {
exit (E_PW_UPDATE); exit (E_PW_UPDATE);
} }
#endif #endif