diff options
Diffstat (limited to 'src/hostlist')
-rw-r--r-- | src/hostlist/gnunet-daemon-hostlist.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/hostlist/gnunet-daemon-hostlist.c b/src/hostlist/gnunet-daemon-hostlist.c index f5ea6bba7..c3543027a 100644 --- a/src/hostlist/gnunet-daemon-hostlist.c +++ b/src/hostlist/gnunet-daemon-hostlist.c | |||
@@ -129,20 +129,22 @@ GNUNET_NETWORK_STRUCT_END | |||
129 | 129 | ||
130 | static struct GNUNET_PeerIdentity me; | 130 | static struct GNUNET_PeerIdentity me; |
131 | 131 | ||
132 | |||
132 | static void | 133 | static void |
133 | core_init (void *cls, struct GNUNET_CORE_Handle *server, | 134 | core_init (void *cls, |
134 | const struct GNUNET_PeerIdentity *my_identity) | 135 | const struct GNUNET_PeerIdentity *my_identity) |
135 | { | 136 | { |
136 | me = *my_identity; | 137 | me = *my_identity; |
137 | } | 138 | } |
138 | 139 | ||
140 | |||
139 | /** | 141 | /** |
140 | * Core handler for p2p hostlist advertisements | 142 | * Core handler for p2p hostlist advertisements |
141 | * | 143 | * |
142 | * @param cls closure | 144 | * @param cls closure |
143 | * @param peer identity of the sender | 145 | * @param peer identity of the sender |
144 | * @param message advertisement message we got | 146 | * @param message advertisement message we got |
145 | * @return GNUNET_OK on success | 147 | * @return #GNUNET_OK on success |
146 | */ | 148 | */ |
147 | static int | 149 | static int |
148 | advertisement_handler (void *cls, const struct GNUNET_PeerIdentity *peer, | 150 | advertisement_handler (void *cls, const struct GNUNET_PeerIdentity *peer, |