[ovs-dev] [PATCH] CodingStyle: Fix indentation.

Ben Pfaff blp at nicira.com
Fri Nov 16 19:19:17 UTC 2012


This got changed away from what I actually prefer in commit be2c418b73fc
(Cleanup isdigit() warnings.).

Signed-off-by: Ben Pfaff <blp at nicira.com>
---
 CodingStyle |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/CodingStyle b/CodingStyle
index b0aeb4e..ee7a0e6 100644
--- a/CodingStyle
+++ b/CodingStyle
@@ -432,8 +432,8 @@ precedence makes it necessary, or unless the operands are themselves
 expressions that use && and ||.  Thus:
 
     if (!isdigit((unsigned char)s[0])
-            || !isdigit((unsigned char)s[1])
-            || !isdigit((unsigned char)s[2])) {
+        || !isdigit((unsigned char)s[1])
+        || !isdigit((unsigned char)s[2])) {
         printf("string %s does not start with 3-digit code\n", s);
     }
 
-- 
1.7.10.4




More information about the dev mailing list