* libmisc/audit_help.c: Add brackets.

This commit is contained in:
nekral-guest 2008-06-13 18:24:37 +00:00
parent 6099bda088
commit e91899c0da
2 changed files with 7 additions and 2 deletions

View File

@ -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

View File

@ -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 */