Selaa lähdekoodia

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 13 vuotta sitten
vanhempi
commit
96741ade15
1 muutettua tiedostoa jossa 2 lisäystä ja 1 poistoa
  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;
 }