diff options
author | Christian Grothoff <christian@grothoff.org> | 2013-08-21 16:03:30 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2013-08-21 16:03:30 +0000 |
commit | a89c7a30d499bac96890929d745fad063eb707b2 (patch) | |
tree | cb001facf8da3cfc9e9bfaa854fb99b9b51ec636 /src/hostlist/gnunet-daemon-hostlist.c | |
parent | d70d18816c37c30e02977a2cc2bdb2368e95a4de (diff) | |
download | gnunet-a89c7a30d499bac96890929d745fad063eb707b2.tar.gz gnunet-a89c7a30d499bac96890929d745fad063eb707b2.zip |
removing deprecated argument in 'init' callback of GNUNET_CORE_connect
Diffstat (limited to 'src/hostlist/gnunet-daemon-hostlist.c')
-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, |