Explorar o código

batman-adv: Use {} braces consistent on the arms of a statement

Signed-off-by: Sven Eckelmann <sven@narfation.org>
Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
Sven Eckelmann %!s(int64=13) %!d(string=hai) anos
pai
achega
96741ade15
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  1. 2 1
      net/batman-adv/routing.c

+ 2 - 1
net/batman-adv/routing.c

@@ -237,8 +237,9 @@ int window_protected(struct bat_priv *bat_priv, int32_t seq_num_diff,
 				"old packet received, start protection\n");
 
 			return 0;
-		} else
+		} else {
 			return 1;
+		}
 	}
 	return 0;
 }