remove trailing whitespace
authorTom Henderson <tomh@tomh.org>
Wed, 28 Aug 2013 18:45:56 -0700
changeset 10185 16b47ee7f627
parent 10184 0f7b3b88b438
child 10186 cfbc9491d7e7
remove trailing whitespace
examples/tutorial/sixth.cc
--- a/examples/tutorial/sixth.cc	Wed Aug 28 17:13:51 2013 -0700
+++ b/examples/tutorial/sixth.cc	Wed Aug 28 18:45:56 2013 -0700
@@ -43,10 +43,10 @@
 // We want to look at changes in the ns-3 TCP congestion window.  We need
 // to crank up a flow and hook the CongestionWindow attribute on the socket
 // of the sender.  Normally one would use an on-off application to generate a
-// flow, but this has a couple of problems.  First, the socket of the on-off 
-// application is not created until Application Start time, so we wouldn't be 
-// able to hook the socket (now) at configuration time.  Second, even if we 
-// could arrange a call after start time, the socket is not public so we 
+// flow, but this has a couple of problems.  First, the socket of the on-off
+// application is not created until Application Start time, so we wouldn't be
+// able to hook the socket (now) at configuration time.  Second, even if we
+// could arrange a call after start time, the socket is not public so we
 // couldn't get at it.
 //
 // So, we can cook up a simple version of the on-off application that does what
@@ -54,17 +54,16 @@
 // application.  On the minus side, we don't have a helper, so we have to get
 // a little more involved in the details, but this is trivial.
 //
-// So first, we create a socket and do the trace connect on it; then we pass 
-// this socket into the constructor of our simple application which we then 
+// So first, we create a socket and do the trace connect on it; then we pass
+// this socket into the constructor of our simple application which we then
 // install in the source node.
 // ===========================================================================
 //
-class MyApp : public Application 
+class MyApp : public Application
 {
 public:
-
   MyApp ();
-  virtual ~MyApp();
+  virtual ~MyApp ();
 
   void Setup (Ptr<Socket> socket, Address address, uint32_t packetSize, uint32_t nPackets, DataRate dataRate);
 
@@ -86,18 +85,18 @@
 };
 
 MyApp::MyApp ()
-  : m_socket (0), 
-    m_peer (), 
-    m_packetSize (0), 
-    m_nPackets (0), 
-    m_dataRate (0), 
-    m_sendEvent (), 
-    m_running (false), 
+  : m_socket (0),
+    m_peer (),
+    m_packetSize (0),
+    m_nPackets (0),
+    m_dataRate (0),
+    m_sendEvent (),
+    m_running (false),
     m_packetsSent (0)
 {
 }
 
-MyApp::~MyApp()
+MyApp::~MyApp ()
 {
   m_socket = 0;
 }
@@ -122,7 +121,7 @@
   SendPacket ();
 }
 
-void 
+void
 MyApp::StopApplication (void)
 {
   m_running = false;
@@ -138,7 +137,7 @@
     }
 }
 
-void 
+void
 MyApp::SendPacket (void)
 {
   Ptr<Packet> packet = Create<Packet> (m_packetSize);
@@ -150,7 +149,7 @@
     }
 }
 
-void 
+void
 MyApp::ScheduleTx (void)
 {
   if (m_running)
@@ -174,7 +173,7 @@
   file->Write (Simulator::Now (), p);
 }
 
-int 
+int
 main (int argc, char *argv[])
 {
   NodeContainer nodes;