gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r13860 - gnunet/src/transport


From: gnunet
Subject: [GNUnet-SVN] r13860 - gnunet/src/transport
Date: Wed, 1 Dec 2010 19:55:50 +0100

Author: grothoff
Date: 2010-12-01 19:55:50 +0100 (Wed, 01 Dec 2010)
New Revision: 13860

Modified:
   gnunet/src/transport/transport_api.c
Log:
removing unnecessary check and outdated comment

Modified: gnunet/src/transport/transport_api.c
===================================================================
--- gnunet/src/transport/transport_api.c        2010-12-01 16:21:17 UTC (rev 
13859)
+++ gnunet/src/transport/transport_api.c        2010-12-01 18:55:50 UTC (rev 
13860)
@@ -401,7 +401,6 @@
 };
 
 
-// FIXME: replace with hash map!
 /**
  * Get the neighbour list entry for the given peer
  *
@@ -413,9 +412,6 @@
 neighbour_find (struct GNUNET_TRANSPORT_Handle *h,
                 const struct GNUNET_PeerIdentity *peer)
 {
-  if (GNUNET_YES != GNUNET_CONTAINER_multihashmap_contains(h->neighbours, 
&peer->hashPubKey))
-    return NULL;
-
   return GNUNET_CONTAINER_multihashmap_get(h->neighbours, &peer->hashPubKey);
 }
 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]