From: nekral-guest Date: Fri, 13 Jun 2008 18:24:37 +0000 (+0000) Subject: * libmisc/audit_help.c: Add brackets. X-Git-Tag: 4.1.3~396 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e91899c0da6f258b1cce0c9abc58a430dada190c;p=shadow * libmisc/audit_help.c: Add brackets. --- 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 */