aboutsummaryrefslogtreecommitdiff
path: root/src/hostlist
diff options
context:
space:
mode:
Diffstat (limited to 'src/hostlist')
-rw-r--r--src/hostlist/gnunet-daemon-hostlist.c6
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
130static struct GNUNET_PeerIdentity me; 130static struct GNUNET_PeerIdentity me;
131 131
132
132static void 133static void
133core_init (void *cls, struct GNUNET_CORE_Handle *server, 134core_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 */
147static int 149static int
148advertisement_handler (void *cls, const struct GNUNET_PeerIdentity *peer, 150advertisement_handler (void *cls, const struct GNUNET_PeerIdentity *peer,