[hipl-dev] [Branch ~hipl-core/hipl/trunk] Rev 5972: Cosmetics: do not break "cond ? foo : bar" at colon in hipfw main.c.

  • From: noreply@xxxxxxxxxxxxx
  • To: HIPL core team <hipl-dev@xxxxxxxxxxxxx>
  • Date: Wed, 22 Jun 2011 13:37:19 -0000

------------------------------------------------------------
revno: 5972
committer: David Martin <david.martin.mailbox@xxxxxxxxxxxxxx>
branch nick: hipl_startup
timestamp: Wed 2011-06-22 15:25:54 +0200
message:
  Cosmetics: do not break "cond ? foo : bar" at colon in hipfw main.c.
  
  It looks neater with the full expression including ? on the next line.
modified:
  firewall/main.c


--
lp:hipl
https://code.launchpad.net/~hipl-core/hipl/trunk

Your team HIPL core team is subscribed to branch lp:hipl.
To unsubscribe from this branch go to 
https://code.launchpad.net/~hipl-core/hipl/trunk/+edit-subscription
=== modified file 'firewall/main.c'
--- firewall/main.c     2011-06-21 15:12:00 +0000
+++ firewall/main.c     2011-06-22 13:25:54 +0000
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2010 Aalto University and RWTH Aachen University.
+ * Copyright (c) 2010-2011 Aalto University and RWTH Aachen University.
  *
  * Permission is hereby granted, free of charge, to any person
  * obtaining a copy of this software and associated documentation
@@ -232,6 +232,6 @@
         }
     }
 
-    return hipfw_main(rule_file, kill_old, limit_capabilities) == 0 ? 
EXIT_SUCCESS
-           : EXIT_FAILURE;
+    return hipfw_main(rule_file, kill_old, limit_capabilities) == 0
+           ? EXIT_SUCCESS : EXIT_FAILURE;
 }

Other related posts:

  • » [hipl-dev] [Branch ~hipl-core/hipl/trunk] Rev 5972: Cosmetics: do not break "cond ? foo : bar" at colon in hipfw main.c. - noreply