projects
/
oweals
/
gnunet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c99fe3c
)
removing unnecessary check and outdated comment
author
Christian Grothoff
<christian@grothoff.org>
Wed, 1 Dec 2010 18:55:50 +0000
(18:55 +0000)
committer
Christian Grothoff
<christian@grothoff.org>
Wed, 1 Dec 2010 18:55:50 +0000
(18:55 +0000)
src/transport/transport_api.c
patch
|
blob
|
history
diff --git
a/src/transport/transport_api.c
b/src/transport/transport_api.c
index 110dfac41f28fdb34614948545ea55a47539c946..1dbf8cb101409c8cf55b19879f9ebf65a9ca0abc 100644
(file)
--- a/
src/transport/transport_api.c
+++ b/
src/transport/transport_api.c
@@
-401,7
+401,6
@@
struct GNUNET_TRANSPORT_Handle
};
-// FIXME: replace with hash map!
/**
* Get the neighbour list entry for the given peer
*
@@
-413,9
+412,6
@@
static struct NeighbourList *
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);
}