* libmisc/audit_help.c: Add brackets.
This commit is contained in:
parent
6099bda088
commit
e91899c0da
@ -1,3 +1,7 @@
|
||||
2008-06-13 Nicolas François <nicolas.francois@centraliens.net>
|
||||
|
||||
* libmisc/audit_help.c: Add brackets.
|
||||
|
||||
2008-06-13 Nicolas François <nicolas.francois@centraliens.net>
|
||||
|
||||
* libmisc/addgrps.c: Avoid implicit conversion of pointers to
|
||||
|
@ -77,11 +77,12 @@ void audit_help_open (void)
|
||||
void audit_logger (int type, const char *pgname, const char *op,
|
||||
const char *name, unsigned int id, int result)
|
||||
{
|
||||
if (audit_fd < 0)
|
||||
if (audit_fd < 0) {
|
||||
return;
|
||||
else
|
||||
} else {
|
||||
audit_log_acct_message (audit_fd, type, NULL, op, name, id,
|
||||
NULL, NULL, NULL, result);
|
||||
}
|
||||
}
|
||||
|
||||
#else /* WITH_AUDIT */
|
||||
|
Loading…
Reference in New Issue
Block a user