[Pkg-shadow-commits] r2133 - in upstream/trunk: . libmisc

nekral-guest at alioth.debian.org nekral-guest at alioth.debian.org
Fri Jun 13 18:24:37 UTC 2008


Author: nekral-guest
Date: 2008-06-13 18:24:37 +0000 (Fri, 13 Jun 2008)
New Revision: 2133

Modified:
   upstream/trunk/ChangeLog
   upstream/trunk/libmisc/audit_help.c
Log:
	* libmisc/audit_help.c: Add brackets.


Modified: upstream/trunk/ChangeLog
===================================================================
--- upstream/trunk/ChangeLog	2008-06-13 18:19:34 UTC (rev 2132)
+++ upstream/trunk/ChangeLog	2008-06-13 18:24:37 UTC (rev 2133)
@@ -1,5 +1,9 @@
 2008-06-13  Nicolas François  <nicolas.francois at centraliens.net>
 
+	* libmisc/audit_help.c: Add brackets.
+
+2008-06-13  Nicolas François  <nicolas.francois at centraliens.net>
+
 	* libmisc/addgrps.c: Avoid implicit conversion of pointers to
 	booleans.
 	* libmisc/addgrps.c: Add brackets.

Modified: upstream/trunk/libmisc/audit_help.c
===================================================================
--- upstream/trunk/libmisc/audit_help.c	2008-06-13 18:19:34 UTC (rev 2132)
+++ upstream/trunk/libmisc/audit_help.c	2008-06-13 18:24:37 UTC (rev 2133)
@@ -77,11 +77,12 @@
 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 */




More information about the Pkg-shadow-commits mailing list