Small code formatting
authorGuilherme Maciel Ferreira <guilherme.maciel.ferreira@gmail.com>
Fri, 22 Jul 2011 02:08:19 +0000 (23:08 -0300)
committerGuilherme Maciel Ferreira <guilherme.maciel.ferreira@gmail.com>
Fri, 22 Jul 2011 02:08:19 +0000 (23:08 -0300)
src/icmp/icmppinger.cpp

index aeff606..a670428 100644 (file)
@@ -13,7 +13,6 @@
 #include <boost/bind.hpp>
 #include <boost/date_time/posix_time/posix_time.hpp>
 #include <boost/date_time/posix_time/posix_time_types.hpp>
-
 #include <boost/uuid/uuid.hpp>
 #include <boost/uuid/uuid_generators.hpp>
 
@@ -71,8 +70,8 @@ IcmpPinger::IcmpPinger(
     boost::uuids::random_generator random_gen;
     boost::uuids::uuid random_tag = random_gen();
 
-    BOOST_ASSERT(sizeof(Identifier) <= random_tag.size());
-    memcpy(&Identifier, random_tag.data, sizeof(Identifier));
+    BOOST_ASSERT( sizeof(Identifier) <= random_tag.size() );
+    memcpy( &Identifier, random_tag.data, sizeof(Identifier) );
 }
 
 IcmpPinger::~IcmpPinger()