diff options
-rw-r--r-- | src/peerinfo/gnunet-service-peerinfo.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/peerinfo/gnunet-service-peerinfo.c b/src/peerinfo/gnunet-service-peerinfo.c index d725968d8..d586eb2b5 100644 --- a/src/peerinfo/gnunet-service-peerinfo.c +++ b/src/peerinfo/gnunet-service-peerinfo.c | |||
@@ -169,6 +169,7 @@ static struct NotificationContext *nc_tail; | |||
169 | * given host entry changing. | 169 | * given host entry changing. |
170 | * | 170 | * |
171 | * @param he entry of the host for which we generate a notification | 171 | * @param he entry of the host for which we generate a notification |
172 | * @param include_friend_only create public of friend-only message | ||
172 | * @return generated notification message | 173 | * @return generated notification message |
173 | */ | 174 | */ |
174 | static struct InfoMessage * | 175 | static struct InfoMessage * |
@@ -315,11 +316,12 @@ update_hello (const struct GNUNET_PeerIdentity *peer, | |||
315 | * addresses are expired, the HELLO is also removed (but the HELLO | 316 | * addresses are expired, the HELLO is also removed (but the HELLO |
316 | * with the public key is still returned if it was found and valid). | 317 | * with the public key is still returned if it was found and valid). |
317 | * | 318 | * |
318 | * The file can contain up to two HELLO messages, a public and a friend only | 319 | * The file can contain multiple HELLO messages, but onlu a public and a friend only |
319 | * HELLO | 320 | * HELLO should be included |
320 | * | 321 | * |
321 | * @param fn name of the file | 322 | * @param fn name of the file |
322 | * @param unlink_garbage if GNUNET_YES, try to remove useless files | 323 | * @param unlink_garbage if GNUNET_YES, try to remove useless files |
324 | * @param r ReadHostFileContext to store the resutl | ||
323 | */ | 325 | */ |
324 | static void | 326 | static void |
325 | read_host_file (const char *fn, int unlink_garbage, struct ReadHostFileContext *r) | 327 | read_host_file (const char *fn, int unlink_garbage, struct ReadHostFileContext *r) |