[aodv] Code style fixes proposed by Faker in his review
This commit is contained in:
1 parent
e02daf1db4
commit
db4c9efc2e
14 files changed
+49
-263
No files matched your search
+2
-2
@@ -45,9 +45,9 @@ Ptr<Socket>
|
||||
Socket::CreateSocket (Ptr<Node> node, TypeId tid)
|
||||
{
|
||||
Ptr<Socket> s;
|
||||
NS_ASSERT(node != 0);
|
||||
NS_ASSERT (node != 0);
|
||||
Ptr<SocketFactory> socketFactory = node->GetObject<SocketFactory> (tid);
|
||||
NS_ASSERT(socketFactory != 0);
|
||||
NS_ASSERT (socketFactory != 0);
|
||||
s = socketFactory->CreateSocket ();
|
||||
NS_ASSERT (s != 0);
|
||||
return s;
|
||||
|
||||
Reference in new issue
Block a user