]> granicus.if.org Git - shadow/commitdiff
* libmisc/audit_help.c: Add brackets.
authornekral-guest <nekral-guest@5a98b0ae-9ef6-0310-add3-de5d479b70d7>
Fri, 13 Jun 2008 18:24:37 +0000 (18:24 +0000)
committernekral-guest <nekral-guest@5a98b0ae-9ef6-0310-add3-de5d479b70d7>
Fri, 13 Jun 2008 18:24:37 +0000 (18:24 +0000)
ChangeLog
libmisc/audit_help.c

index a540359d553cff5548b904d3c93ab39227bbdcaf..e9740bdfd14a95bd390bfc24ce94f7ee5d6f78d4 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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
index 3e936a7e56cd876cc319a4675f5057886419058e..84cb0d84f87a27ef6095d0bf1446b7af76011d4f 100644 (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 */