From e91899c0da6f258b1cce0c9abc58a430dada190c Mon Sep 17 00:00:00 2001 From: nekral-guest Date: Fri, 13 Jun 2008 18:24:37 +0000 Subject: [PATCH] * libmisc/audit_help.c: Add brackets. --- ChangeLog | 4 ++++ libmisc/audit_help.c | 5 +++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index a540359d..e9740bdf 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2008-06-13 Nicolas François + + * libmisc/audit_help.c: Add brackets. + 2008-06-13 Nicolas François * libmisc/addgrps.c: Avoid implicit conversion of pointers to diff --git a/libmisc/audit_help.c b/libmisc/audit_help.c index 3e936a7e..84cb0d84 100644 --- a/libmisc/audit_help.c +++ b/libmisc/audit_help.c @@ -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 */