code layout fix
authorMathieu Lacage <mathieu.lacage@sophia.inria.fr>
Wed, 21 Nov 2007 11:12:02 +0100
changeset 2157 2e94b55900ab
parent 2156 754a843db672
child 2158 1bae76be026d
code layout fix
samples/main-ap-wifi.cc
--- a/samples/main-ap-wifi.cc	Wed Nov 21 11:11:27 2007 +0100
+++ b/samples/main-ap-wifi.cc	Wed Nov 21 11:12:02 2007 +0100
@@ -118,9 +118,10 @@
 {
   Vector pos = GetPosition (node);
   pos.x += 5.0;
-  if (pos.x >= 210.0) {
-    return;
-  }
+  if (pos.x >= 210.0) 
+    {
+      return;
+    }
   SetPosition (node, pos);
   //std::cout << "x="<<pos.x << std::endl;
   Simulator::Schedule (Seconds (1.0), &AdvancePosition, node);